4. 4. Set

4. 4. 1. HashSet
4. 4. 1. HashSet class
4. 4. 2. Add element to hash set
4. 4. 3. Clear a hash set
4. 4. 4. Clone a hash set
4. 4. 5. If a hash set contain a certain element
4. 4. 6. Is this set containing a certain element
4. 4. 7. Get an iterator from a hash set
4. 4. 8. Remove an element from hash set
4. 4. 9. Get the size of a hash set
4. 4. 2. TreeSet
4. 4. 1. TreeSet class
4. 4. 2. Create TreeSet objects
4. 4. 3. Add elements to a TreeSet
4. 4. 4. Get the least and greatest element in this TreeSet
4. 4. 5. Clear a TreeSet
4. 4. 6. Clone a TreeSet
4. 4. 7. Get the comparator used by this TreeSet
4. 4. 8. If this TreeSet contains a certain element
4. 4. 9. Get the descending iterator and descending set
4. 4. 10. The first and last element in this TreeSet
4. 4. 11. Get the head set and tail set
4. 4. 12. Is this TreeSet empty
4. 4. 13. Get an iterator over the elements in this set in ascending order
4. 4. 14. Get and remove first and last element in this tree
4. 4. 15. Remove element from TreeSet
4. 4. 16. Get the size of this TreeSet
4. 4. 17. Get a subset from this TreeSet
4. 4. 3. LinkedHashSet
4. 4. 1. LinkedHashSet class
4. 4. 2. Check if an element exists in LinkedHashSet using contains method
4. 4. 3. Copy all elements of LinkedHashSet to an Object Array
4. 4. 4. EnumSet
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.