Some of the new collections APIs have been introduced in Java 6.0. These are:
Some of the new Classes are:
Updated Classes in Java 6.0
LinkedList
TreeSet
TreeMap
Collections
Modified classes
To implement the new interfaces we modify some
classes like TreeSet is modified to implement NavigableSet, LinkedList
is modified to implement Deque, TreeMap is modified to implement
NavigableMap etc. Some of the new methods like newSetFromMap and asLifoQueue
have been added to Collections 2.
Hence
the bi- directional traversal has become easier with java6.0 collections. We can
even retrieve elements as desired.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Java 6.0 Collection Framework View All Comments
Post your Comment