Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

collection framework hirarchy?

Answer Posted / yadaiah

Collection is the root interface for all the hierarchy (except Map).
Set interface unique feature is that it does not accept duplicate elements. That is, no two elements will be the same.
SortedSet interface is derived from Set interface and adds one more feature that the elements are arranged in sorted order by default.
List interface permits duplicate elements.
Queue interface holds elements and returns in FIFO order.
Map adds the elements in key/value pairs. Duplicate keys are not allowed, but duplicate values are allowed. One key can map one value only.
SortedMap interface is a particular case of Map. Keys are sorted by default.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways in which duplicate form submission can occur?

922


What is switchaction?

1120


What is actionmapping?

1060


What is the use of execAndWait interceptor?

1018


Are interceptors and filters different?

1021


Explain about the tag?

1088


List some bundled validators?

977


How is forward action used for integration?

1009


How is a lookup dispatch action created?

994


What is the use of reset method of ActionForm class?

1020


What are action errors and error and what are the consequences they impose?

997


What is ValueStack and OGNL?

1032


What are the features of struts?

1004


Are struts thread safe?

952


What are best practices to follow while developing Struts2 application?

1010