Java examples for java.util:Set Operation

Click the following links for the tutorial for java.util and Set Operation.

- Returns the difference of two sets (S1\S2).
- Make a set unmodifiable
- make Copy of a Set
- Get set Difference
- Clone a set.
- Returns the items as a populated set.
- Returns of set of the objects given in the vararg.
- Converts the given objects into a Set .
- unmodifiable Set
- Ensures that all elements of the given set can be cast to a desired type.
- result set is those elements in superSet which are not in the subSet, using Collection<T>
- Returns the union of two Collection s as an unmodifiable set.
- Compare 2 sets and check that one contains all members of the other.
- check if the two sets are equal
- cartesian product of arbitrary sets
- Set distance
- Do a doubling that creates a set of times where start and end times become distinct even/odd entities in the set.
- Merge the new set so the set of sets remains disjoint