File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Collections framework enhanced in Java 7? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Collections framework enhanced in Java 7?" Watch "Collections framework enhanced in Java 7?" New topic

Collections framework enhanced in Java 7?

Astria Bothello

Joined: Mar 12, 2012
Posts: 11
I would like to know how was collections enhanced in Java 7? What are the new features?
Poornachandra Sarang

Joined: Apr 17, 2012
Posts: 27
The following is taken from

Collections Framework Enhancements in Java SE 7
The interface TransferQueue has been added. It is a refinement of the BlockingQueue interface in which producers can wait for consumers to receive elements. One implementation of the new interface is also included in this release, LinkedTransferQueue.

The book provides a detailed discussion on this addition and a dedicated example on the use of LinedTranferQueue.
I agree. Here's the link:
subject: Collections framework enhanced in Java 7?
It's not a secret anymore!