"Before software can be reusable it first has to be usable"- Ralph Johnson

Monday, November 21, 2011

What's New in Java 6.0 Collection API

By 10:35 AM
Here we have the new Collections APIs introduced in Java 6.0. There are few interesting changes in the Collections APIs, one amoung them is the Deque. Deque is used for the Bi-Directional traversal. It has different implementations including BlockingDeque,ArrayDeque,etc. Let's talk about the Deque and its various implementation, also few more changes in the Collectiona API in Java 6.0

Following are the new collection APIs introduced in Java 6.0. And the list of Interfaces and classes are given below.


New Interfaces:

  • Deque
  • BlockingDeque
  • NavigableSet
  • NavigableMap

New Classes:

  • ArrayDeque
  • LinkedBlockingDeque
  • ConcurrentSkipListSet
  • ConcurrentSkipListMap
  • AbstractMap.SimpleEntry
  • AbstractMap.SimpleImmutableEntry
And following are the updated Classes in Java 6.0
  • LinkedList
  • TreeSet
  • TreeMap
  • Collections

0 comments:

Post a Comment