Home
»
Java Book
»
Collections
»
«
Start a new process
Introduction
»
4. Collections
4. 1.
Introduction
4. 1. 1.
The Interfaces from Collection framework
4. 2.
Collection
4. 2. 1.
Collection interface
4. 2. 2.
Add elements to a collection
4. 2. 3.
Is it contained in the collection
4. 2. 4.
Compare two collections
4. 2. 5.
Remove elements from a collection
4. 2. 6.
Convert collection to Array
4. 2. 7.
Get the size of a Collection
4. 2. 8.
Is a collection empty
4. 2. 9.
Clear a collection
4. 2. 10.
Get the iterator() from a collection
4. 3.
List
4. 3. 1.
List
4. 3. 1. 1.
List interface
4. 3. 1. 2.
Add element to List
4. 3. 1. 3.
Clear a List
4. 3. 1. 4.
Does it contain certain element
4. 3. 1. 5.
Compare two Lists
4. 3. 1. 6.
Get the element index
4. 3. 1. 7.
Get Iterator from a List
4. 3. 1. 8.
Remove element from List
4. 3. 1. 9.
Get/set element
4. 3. 1. 10.
List size and empty flag
4. 3. 1. 11.
Get the sub list from a list
4. 3. 1. 12.
Convert List to Array
4. 3. 2.
ArrayList
4. 3. 2. 1.
ArrayList Class
4. 3. 2. 2.
Create ArrayList object
4. 3. 2. 3.
Add to ArrayList
4. 3. 2. 4.
Clear an ArrayList
4. 3. 2. 5.
Shallow copy of current ArrayList
4. 3. 2. 6.
If contain a certain object
4. 3. 2. 7.
Increases the capacity of an ArrayList
4. 3. 2. 8.
Get/Replace element by index
4. 3. 2. 9.
Get object for index
4. 3. 2. 10.
Remove from ArrayList
4. 3. 2. 11.
Get the size and trim to size
4. 3. 2. 12.
If ArrayList is empty
4. 3. 2. 13.
Convert ArrayList to array
4. 3. 3.
LinkedList
4. 3. 3. 1.
LinkedList class
4. 3. 3. 2.
Create LinkedList
4. 3. 3. 3.
Add element to LinkedList
4. 3. 3. 4.
Remove all elements from LinkedList
4. 3. 3. 5.
Shallow copy of a LinkedList
4. 3. 3. 6.
If contain a certain element
4. 3. 3. 7.
Get iterator from LinkedList
4. 3. 3. 8.
Peek the element
4. 3. 3. 9.
Get the element from LinkedList
4. 3. 3. 10.
Get the index of an element
4. 3. 3. 11.
Poll, pop and push element to a LinkedList
4. 3. 3. 12.
Remove element from a LinkedList
4. 3. 3. 13.
Replace the element at the position
4. 3. 3. 14.
Get the size of a LinkedList
4. 3. 3. 15.
Convert LinkedList to Array
4. 3. 4.
Vector
4. 3. 4. 1.
Vector class
4. 3. 4. 2.
Create Vector objects
4. 3. 4. 3.
Add elements to this vector
4. 3. 4. 4.
Size and capacity
4. 3. 4. 5.
Remove all elements from a vector
4. 3. 4. 6.
Clone a vector
4. 3. 4. 7.
Does it contain a certain element
4. 3. 4. 8.
Copy elements in vector to an array
4. 3. 4. 9.
Get Enumeration from this vector
4. 3. 4. 10.
Compare two vectors
4. 3. 4. 11.
Get element from vector
4. 3. 4. 12.
Is vector empty
4. 3. 4. 13.
Get element index
4. 3. 4. 14.
Remove element from a vector
4. 3. 4. 15.
Retain elements collection c has
4. 3. 4. 16.
Replace element in a vector
4. 3. 4. 17.
Get a sub list from a list
4. 3. 4. 18.
Convert Vector to Array
4. 4.
Set
4. 4. 1.
HashSet
4. 4. 1. 1.
HashSet class
4. 4. 1. 2.
Add element to hash set
4. 4. 1. 3.
Clear a hash set
4. 4. 1. 4.
Clone a hash set
4. 4. 1. 5.
If a hash set contain a certain element
4. 4. 1. 6.
Is this set containing a certain element
4. 4. 1. 7.
Get an iterator from a hash set
4. 4. 1. 8.
Remove an element from hash set
4. 4. 1. 9.
Get the size of a hash set
4. 4. 2.
TreeSet
4. 4. 2. 1.
TreeSet class
4. 4. 2. 2.
Create TreeSet objects
4. 4. 2. 3.
Add elements to a TreeSet
4. 4. 2. 4.
Get the least and greatest element in this TreeSet
4. 4. 2. 5.
Clear a TreeSet
4. 4. 2. 6.
Clone a TreeSet
4. 4. 2. 7.
Get the comparator used by this TreeSet
4. 4. 2. 8.
If this TreeSet contains a certain element
4. 4. 2. 9.
Get the descending iterator and descending set
4. 4. 2. 10.
The first and last element in this TreeSet
4. 4. 2. 11.
Get the head set and tail set
4. 4. 2. 12.
Is this TreeSet empty
4. 4. 2. 13.
Get an iterator over the elements in this set in ascending order
4. 4. 2. 14.
Get and remove first and last element in this tree
4. 4. 2. 15.
Remove element from TreeSet
4. 4. 2. 16.
Get the size of this TreeSet
4. 4. 2. 17.
Get a subset from this TreeSet
4. 4. 3.
LinkedHashSet
4. 4. 3. 1.
LinkedHashSet class
4. 4. 3. 2.
Check if an element exists in LinkedHashSet using contains method
4. 4. 3. 3.
Copy all elements of LinkedHashSet to an Object Array
4. 4. 4.
EnumSet
4. 5.
Collections
4. 5. 1.
Collections
4. 5. 2.
Get empty collection from Collections
4. 5. 3.
Do binary search
4. 5. 4.
Add to a collection
4. 5. 5.
Check collections
4. 5. 6.
Copy value to a List
4. 5. 7.
Check for common elements
4. 5. 8.
Get Enumeration from collection, create list from Enumeration
4. 5. 9.
Fill a list
4. 5. 10.
Check for frequency
4. 5. 11.
Get the index of sub list
4. 5. 12.
Get the max and min value from a Collection
4. 5. 13.
Fill n Copy object to a list
4. 5. 14.
Create set from a map
4. 5. 15.
Replace value in a list
4. 5. 16.
Reverse a list
4. 5. 17.
Get comparator in reverse order
4. 5. 18.
Rotate and shuffle a list
4. 5. 19.
Create singleton
4. 5. 20.
Sort a list
4. 5. 21.
Swap element in a list
4. 5. 22.
Get a synchronized collection
4. 5. 23.
Return an unmodifiable view of collections
4. 6.
Arrays
4. 6. 1.
Arrays
4. 6. 2.
Convert array to list
4. 6. 3.
Binary search an Array
4. 6. 4.
Copy value to an Array
4. 6. 5.
Deep equals
4. 6. 6.
Deep hash code
4. 6. 7.
Deep to string
4. 6. 8.
Compare two arrays
4. 6. 9.
Fill value to array
4. 6. 10.
Get the hash code for array
4. 6. 11.
Sort an array
4. 6. 12.
Convert array to string
4. 7.
Iterable
4. 7. 1.
Iterable
4. 8.
Deque
4. 8. 1.
Deque
4. 9.
Queue
4. 9. 1.
Queue
4. 10.
Comparable
4. 10. 1.
Comparable
4. 11.
Stack
4. 11. 1.
Stack
«
Start a new process
Introduction
»
java2s.com
|
Contact Us
|
Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.