How can i create my own HashMap implementation?
Do i extend HashMap and just override the needed methods?
What i wanted to do was change the way a HashMap stores it's
elements so it behaves the same as a TreeMapBad idea IMO. The two are vastly different.
HashMap implements Map
TreeMap implements SortedMap
Do you want to implement a Map or a SortedMap?
Using a hash by definition precludes having any sort of ordering to the elements.
If you want to implement your own Map, then do exactly that.
The best way would be to extend AbstractMap and go from there.
What advantages are you hoping to gain by providing your own implementation of Map?
Have you looked at all the other implementations in the API to see if they are of any use?
Cheers,
evnafets
Similar Messages
-
I have the retail iCloud account. How can I delete it? And how can I create my own account?
Welcome to Apple Support Communities
To delete the iCloud account, open Settings > iCloud, scroll to the bottom and select Delete account. Then, log in with the Apple ID you want to use with iCloud -
How can i create my own component
hello all,
how can i create my own componet,
say for example i want to create my own JTextField.
give me links, or give me a examples
thanks
dayahttp://www.onjava.com/pub/a/onjava/2004/08/11/desktop.html
-
How can i create my own t-code
hi ,
how can i create my own t-code with a specified applications? may i know the t-code for create a t-code
Edited by: amarnath popuri on Nov 24, 2008 10:53 AMHi amarnath popuri
Use t-code SE93 to create a t-code.
Check below link.
http://help.sap.com/erp2005_ehp_02/helpdata/EN/43/2c43b427bf601fe10000000a422035/frameset.htm
Regards
Ashok -
How can I create my own toolbar like SmartBar??
I would like to know how can I create my own toolbar that works like the default smart bar.
I need to work with a smart bar, but i have to create it, and it has to work like the default one.
the smart bar should be able to navigate along my different forms/canvases.
Can someone help me??
With regards
Tiago ValadorTiagor,
you can't change the smart bar. All you can do is to create a hrizontal toolbar canvas.
Frank -
How can i create my own file from the Adobe Export PDF to Word ?
How can I create my own file from the file of the Adobe Export PDF to Wodrd?
If there is handwritten content in your PDF then ExportPDF can't convert that to word.
~Deepak -
How can I create my own border styles?
Working on a Mac in Numbers 3.2.2 how can I create 1 point line as a border? I find the default selection harsh, distracting.
Appreciated.Hi Wanapitei,
Click on the "bullseye" (top left of the table) to select the whole table.
Format Panel > Cell > Border > All Borders
Save as Template.
Regards,
Ian. -
How can i create my own apps on iPhone ?
Dear all
Plz how can i create my on apps and publish it on app store ? (From my iphone ) not from mac devise
RegardsYou don't.
All app development requires a Mac. -
How can I create my own shortcut to an app
How do I create my own shortcut to an app on my Mac Pro
Here are some more keyboard short cuts you may find useful including a different way of creating an Alias.
Use whichever you find the easiest.
http://support.apple.com/kb/PH10563 -
How can I create my own tag name while creating a partition table.
I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
/dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> partition
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> print
Current partition table (original):
Total disk sectors available: 1953508749 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 4.00GB 8388641
1 usr wm 8388642 2.00GB 12582945
2 usr wm 12582946 200.00GB 432013345
3 usr wm 432013346 175.00GB 799014945
4 usr wm 1166180386 375.43GB 1953508748
5 usr wm 799014946 175.00GB 1166016545
6 usr wm 1166016546 80.00MB 1166180385
8 reserved wm 1953508749 8.00MB 1953525132
partition>
I am unable to specify my own tag name. How can I change the tag name to one of my interest.
I need to create 3 partitions as told below
partitions:
/earth
/mars
/work
/earth and /work should be roughly equal in size, /mars should be twice the size of the others, if that is possible. If not 3 partitions of equal size will do.
Please, help me .
Thank you.Exactly 1TB? Slightly under/slightly over?
Traditional Solaris disk labels are in VTOC format, but this format cannot describe disks larger than 1TB. So EFI labels must be used on disks larger than 1TB. Setup is slightly different.
Are these physical disks or LUNs from a SAN array? If they are array LUNS, it is often the case that they don't have a Sun label of any type. So...
#1 Apply a Solaris label
If the LUNS don't have a label (when selected in 'format', it gives a warning that no label is present and offers to apply a label immediately). When run non-interactively, format assumes "yes" for any questions. So all you'd have to do is select every disk to have it apply labels to any unlabled disk. Run 'format' once and find the highest number (maybe it's 50 for you). Create a text file that looks like this:
disk 1
disk 2
disk 3
disk 50Then feed that to format like this:
# format -f /tmp/disklist or whatever you've named the file.
#2 Apply the partition layout to all disks you want.
You asked if you should do the same procedure, but I don't see that you've actually done anything above other than print out the existing layout. Take one of your 48 drives and partition it the way you want manually (set the slices to the sizes that you want). Then you can copy the layout of that disk to others. You only want to do this between disks/LUNs of the same size. As an example, if you've explicitly partitioned c1t0d0 and you want to apply this to c1t1d0, do this:
# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2Repeat for all of your other disks.
Darren -
UWL Help - How can i create my own task within the Enterprise Portal
Dear all,
I am currently working with UWL .
I have tried the customization and those stuffs associated with UWL , and it is working properly.
My current issue is , how can create my own task within the Portal ( not using Ad Hoc Workflow , which is present in Portal) ?.
If i can create my own task within portal by API or using another method , then How can i add that task link within the drop down box that is present in the Collaboration launch pad and Mytask Workset.?
Is there any API regarding UWL (which is useful for creation of custom tasks in Portal using Developer Studio by means of Portal Application Creation) ?
How can i add that custom task in the drop down ?.
I have tried the customization of existing UWL.
I shall be grateful to those who can help me to solve this issue with links regarding the solution of my problem's.
with regards
Kishor GopinathanHi Kishore,
I am trying to do the same thing. When i am creating Collaboration Task, it has standard templates in the dropdown like "Single Step" and "Multi-Step" etc., If i want to create my own Custom Task Template and display in that dropdown, how can i do that? Your help is really appreciated.
Thanks
Vijay -
How can I create my own document type
Hello
I want to know if we can create our own document types. With
coloring methods...
Beacause I want to have a coloring methode for my templates,
whose I edit them a lot of with dreamweaver. And it will be simply
if they can have theirs colors.
Sorry for my bad english, but I'm French... ;)
Thank for all1. in factory sales we are using T.code J1IIN. that time it fetch which type of Billing docu;ment. and how we can see that document. where it isconfigured
You cannot view the Billing type while creating the excise invoice.In SPRO,Tax on Goods Movement-->India >Business Transactions> Outgoing Excise Invoices -->Assign Billing Type to Delivery Types here you maintain the Delievry and Billing types with which you cancreate Excise Invoices.
2.Is there any copy control system between commercial Invoice to Excise invoice?
There is no copy control and the above step controls the relation between the billing and excise invoice.
3.How I can create my own Excise Invoice Document type.
You cannot create your own Excise Invoice Document type but you can create a Sub Transaction type and assign it while creating Excise Invoice to differentiate and pass the values to a different GL. -
How can I create my own keyboard shortcut
Hi, Can somebody please tell me how to create my own keyboard shortcut
Go to System Preferences > Keyboard > Keyboard Shortcuts.
Click the item Application Shortcuts in the left pane.
Then click the + button underneath the right pane. Follow the prompts. You can choose to have the shortcut applicable to all applications, or just to a single one.
Note - you can create a shortcut only for an item which is already an existing menu item.
If you want to change an existing shortcut, by selecting the appropriate software in the left pane you can change the keyboard command in the right pane - just click the keyboard shortcut at the right end of the listed shortcut. -
How can i create my own search form/A user defined search form
Hello All,
I have a simple table name employee with two fields, they are Emp_id and Name having 10 recrods.
I have a form with a text box and a button labled Search.
I want to search the employee in my employee table. I write the Emp_id in the text box field if the entry (Emp_id) does not exist in the employee table having 10 records then i want a message appear "There is no such employee Code "0001" try again.
On the other hand if i found some employee in my employee table then it will open the employee form and go to the specified record and show me that record.
How can i accomplish this task in Oracle Form 6i?
If anybody help me in this regard i am thankfull to you..
Please write all necessary code as well.
Thanks in advance.try this one here is :vemp is textitem ,i hope you know how to create button and buttonn's trigger to embed this code
DECLARE
cnt NUMBER := 0;
RECORD_NUMBER NUMBER;
VCNT VARCHAR2(20);
BEGIN
GO_ITEM('EMP.empno');
FIRST_RECORD;
BEGIN
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
LOOP
IF :EMP.empno = :vemp THEN
cnt := cnt + 1;
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
END IF;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR cnt > 0;
NEXT_RECORD;
END LOOP INNER;
IF cnt=0 THEN
message('No record found..');
END IF;
GO_RECORD(RECORD_NUMBER);
END;
NEXT_ITEM;
END;Khurram -
How can I create my own datasource
Hi All,
I would like to create my own datasource. Please provide me a step to do so. I don't want to modify the standard datasource in RSA6 because many fields will be appened and I don't want to interrupt the other BI consults as well.
Thank you in advance,
SukanyaHi,
You can create your own datasource by using Generic extraction in RSO2 in R/3 side.
Generic extraction Function module:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
Generic Delta:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
GENERIC EXTARCTIONS:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/generic%2bextraction
Regards
Tg
Maybe you are looking for
-
Date & time difference in a single column but multiple rows in a table
hi folks, am using Oracle db 10g by chance is there any other way to do my requirement. as I stated in my subject.
-
How to search for file in a directory or subdirectories?
I need ur help urgently. I'm currently doing a java project in which the program should be able to do file searching. For eg. if I key in a.jpg, it should display C:\pictures\a.jpg (a.jpg is stored in a folder called "pictures") But the problem is th
-
Active Vendor of an Material !!!
Hi Guys, How we can see the number of active vendors for an Material in SAP MM,? For example I have total created vendor in system is 70 for Matrial A and I want to know that active vendors for Matrial A, how we will find out the list for the same.
-
Unjar and jar ???
Hi, I've got a jar file generated thru netbeans but the problem is its manifest file does not have a Main-Class attribute..even though i've set that in the project properties. So i need to manually unjar the folder which i'm able to do and add the at
-
When to choose JSP and When to choose Servlet in Web Application
Hi, I know that using JSP over servlet has only one advantage like for huge Application you can devide presentation layer from business logic. Is there any other advantage. Also, if anyone can tell me how to handle FTP request in Servlet as HttpServl