Java

369
4012 reads

February 24, 2013

hash-map


This example describes the use of HashMap class that uses a hash table to implement the Map interface.

350
3408 reads

February 24, 2013

mail-LinkedList


This example describe how to create a linked-list with more than one field value and storing a user-defined class in collections.
Here an example is shown describing a mail-list.

141
2716 reads

February 24, 2013

array-list


This example describes creation of array-list and traversing the array-list with for loop to cycle through a collection.

244
5025 reads

February 24, 2013

iterator


This example demonstrates the implementation of Iterator interface. When we want to cycle through the elements in a collection, we use Iterator or ListIterator interface.

142
2514 reads

February 24, 2013

array-deque


This example demonstrates you creation of a array-deque similar properties of stack.
It also performs two operations push and pop.

388
4687 reads

February 24, 2013

tree-creation


This example simply describes to create a tree-structure of array-elements.
To do it java provides a class TreeSet in java.util package.

31
2768 reads

February 24, 2013

hashset


This example describes to create a hash-table structure and to perform the insert operation on data.

292
4833 reads

February 24, 2013

Linkedlist


This example describes that how to create a linked-list data structure and its various operation such as insertion and deletion.

76
2950 reads

February 24, 2013

Arraylist to array


This example describes you to convert a arraylist into array and accessing every element of array to find the sum of elements in array.

98
4174 reads

February 24, 2013

ArrayList


This example simply describes creating an array list and operation on data of array such as insertion and deletion.