This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Implementing a class SortedArrayMap that implement Map interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Implementing a class SortedArrayMap that implement Map interface" Watch "Implementing a class SortedArrayMap that implement Map interface" New topic
Author

Implementing a class SortedArrayMap that implement Map interface

Eghe Urhos
Greenhorn

Joined: Sep 03, 2003
Posts: 5
I would appreciate if somebody could help me with the implementation of this user defined class SortedArrayMap implements Map. Below the Map interface is the Class and all associated inner/nested classes and methods.
The descriptions for each method implementation is give at the beginning of each of them.
Thanks for your assistance.
Eghe


(edited by Cindy to format code using [ code] and [ /code] tags without the spaces)
[ September 03, 2003: Message edited by: Cindy Glass ]

egheurhos
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
First of all, writing an interface with the exact same name as one that already exists in the JDK is a lousy idea. You are SURE to end up with namespace problems.
Next, what is it that you want explained? Are you having a specific problem? Is there something is particular that you are trying to accomplish?


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Implementing a class SortedArrayMap that implement Map interface
 
Similar Threads
Retrieving values from a HashMap
Implement a data structure that support a sorted Map.
creating user defined Iterator .
HashMap question?
HashMap's Map.Entry interface