Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Java 5 Features

To resources on new Collections features

Tutorial Details:

What's new in Java 5
Java Collections have been extended in two directions.

Generics -- Specifying the object type in a collection. See example below.
Additional structures designed to make concurrency easier
Additional data structures
Interfaces
Queue, BlockingQueue, ConcurrentMap, Delayed.
Classes
PriorityQueue, ConcurrentLinkedQueue, ArrayBlockingQueue, LinkedBlockingQueue, PriorityBlockingQueue, DelayQueue, SynchronousQueue, ConcurrentHashMap, and maybe others.
The concurrent collections can be executed by more than one thread without blocking! In other words, they don't have the performance cost of the synchronized classes. See John Zukowski's article at http://www-106.ibm.com/developerworks/java/library/j-tiger06164.html for an overview of these new structures.


 

Rate Tutorial:
http://www.roseindia.net/java/java-tips/data/collections/java5.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Java 5 Features

View Tutorial:
Java 5 Features

Related Tutorials:

Understanding Java Card 2.0 - JavaWorld March 1998
Understanding Java Card 2.0 - JavaWorld March 1998
 
Apple announces Java 2 plans at MacWorld
Apple announces Java 2 plans at MacWorld
 
Java security evolution and concepts, Part 3: Applet security - JavaWorld December 2000
Java security evolution and concepts, Part 3: Applet security - JavaWorld December 2000
 
C#: A language alternative or just J--?, Part 2 - JavaWorld December 2000
C#: A language alternative or just J--?, Part 2 - JavaWorld December 2000
 
Jato: The new kid on the open source block, Part 2 - JavaWorld April 2001
Jato: The new kid on the open source block, Part 2 - JavaWorld April 2001
 
Implement a J2EE-aware application console in Swing
Implement a J2EE-aware application console in Swing
 
Java security evolution and concepts, Part 2
Java security evolution and concepts, Part 2
 
Java security evolution and concepts, Part 5
Java security evolution and concepts, Part 5
 
Java tools reign supreme - JavaWorld celebrates the leading Java tools
Java tools reign supreme - JavaWorld celebrates the leading Java tools
 
Lisp and Java
Lisp and Java In this article, we\'re going to steal an idea from one of the most theft-worthy languages out there: Lisp. We\'re going to pick out one of its most useful features -- the ability to treat functions as data -- and talk about how to apply th
 
Clustering and Load Balancing in Tomcat 5, Part 2
Clustering and Load Balancing in Tomcat 5, Part 2
 
CalendarComponent
Java Calendar Component V 1.0
 
Taming Tiger, Part 3
J2SE 5—code named "Tiger"—is the most significant revision to the Java language since its original inception. Tarak Modi's primary goal with his three-part series on Tiger is to familiarize readers with J2SE 5's most important additions and show how t
 
Creating Varargs in Java 1.5 Tiger
Creating Varargs in Java 1.5 Tiger In this excerpt from Chapter 5 of the book, Brett and David cover how to create and iterate over variable-length argument lists (better known as varargs), which will have you writing better, cleaner, more flexible code
 
Koalog Constraint Solver v2.2 released
Koalog Constraint Solver v2.2 released What is Koalog Constraint SolverTM? Koalog Constraint SolverTM is a powerful JavaTM library for solving combinatorial optimization problems using Constraint Programming or Local Search. It provides cutting-edge te
 
JLisa - A Rule Engine for Java
JLisa is a powerful framework for building business rules accessible to Java and it is compatible with JSR94 V, the JavaTM Rule Engine API JLisa is more powerful than Clips because it has the expanded benefit of having all the features from common lisp a
 
Primrose - Free J2EE Database Connection Pooling Software
Primrose Primrose is a database connection pool, written in Java. Current containers support are Tomcat 4 & 5, and JBoss 3. There is also now a standalone version of primrose that can be used for applications not running inside a container.
 
Using SSL with Non-Blocking IO
Using SSL with Non-Blocking IO After the initial experiments with Java NIO, most developers start wondering about security; in particular, how to use SSL with Java NIO. With the traditional blocking sockets API, security is a simple issue: just set up an
 
RawLib
RawLib Version 0.9.4 released. This one has support for tonal curves as seen in RawView. Also initial support for Adobe's DNG raw format. Download the library and sample application here. This is a quick release of our Java library for decoding RAW i
 
Five Reasons to Move to the J2SE 5 Platform
Five important reasons to move to the Java 2 Platform, Standard Edition (J2SE platform) 5.0, supported by data and references to prove that the 5.0 release will reduce development and runtime costs.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.