Java Tutorial Java Set

Custom

  1. Implement the Set interface more compactly than java.util.HashSet in Java
  2. Implement the set interface more tightly in memory and more efficiently than Java's java.util.HashSet in Java
  3. Create a Set backed by a ConcurrentHashMap instance in Java
  4. Create a Set implementation that use == instead of equals() in Java
  5. Create a thin wrapper around a List transforming it into a modifiable Set in Java
  6. Create an IdentitySet that uses reference-equality instead of object-equality in Java
  7. Implement two interface List and Set in Java
  8. Create an Integer value set in Java
  9. Create a read-only Set in Java
  10. Create a Set That Retains Order-of-Insertion in Java
  11. Create a sorted set whose items are in a sorted order in Java

Convert

  1. Convert Set into List in Java
  2. Convert Set into array in Java
  3. Convert array to Set in Java
  4. Convert List to Set in Java

Basic

  1. Remove all elements from a set in Java
  2. Create an empty Set in Java

Set Operation

  1. Check if one set is Subset of another in Java
  2. Check if one set is superSet of another in Java
  3. Different two set in Java
  4. Intersect two set in Java
  5. Symmetric Different two set in Java
  6. Union two set in Java




















Home »
  Java Tutorial »
    Java Collection »




Java ArrayList
Java Collection
Java Comparable
Java Comparator
Java HashMap
Java HashSet
Java Iterator
Java LinkedHashMap
Java LinkedHashSet
Java LinkedList
Java List
Java ListIterator
Java Map
Queue
Java Set
Stack
Java TreeMap
TreeSet