Home / Tag Archives: Collection Framework in java

Tag Archives: Collection Framework in java

Collection Framework in java

Collection framework was not part of original Java release. Collections was added to J2SE 1.2. Prior to Java 2, Java provided adhoc classes such as Dictionary, Vector, Stack and Properties …

Read More »

Interfaces of Collection Framework in Java

The collection framework has a lot of Interfaces, setting the fundamental nature of various collection classes. Lets study the most important Interfaces in the collection framework. The Collection Interface It …

Read More »

The Collection classes in java

Java provides a set of Collection classes that implements Collection interface. Some of these classes provide full implementations that can be used as it is and other abstract classes provides …

Read More »

Accessing a Collection in java

To access, modify or remove any element from any collection we need to first find the element, for which we have to cycle throught the elements of the collection. There …

Read More »

Map Interface

A Map stores data in key and value association. Both key and values are objects. The key must be unique but the values can be duplicate. Although Maps are a …

Read More »

Comparator Interface in java

In Java, Comparator interface is used to order the object in your own way. It gives you ability to decide how element are stored within sorted collection and map. Comparator …

Read More »

classes and interface in java

Early version of java did not include the Collection framework. It only defined several classes and interface that provide method for storing objects. When Collection framework were added in J2SE …

Read More »