Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Collections framework enhanced in Java 7?

 
Astria Bothello
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know how was collections enhanced in Java 7? What are the new features?
 
Poornachandra Sarang
author
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following is taken from http://docs.oracle.com/javase/7/docs/technotes/guides/collections/changes7.html

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic