tiger.util
Class TigerSet
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractSet
|
+--java.util.TreeSet
|
+--tiger.util.TigerSet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set, java.util.SortedSet
- public class TigerSet
- extends java.util.TreeSet
Set class with set calculation functions.
- Author:
- Fredrik Bertilsson
- See Also:
- Serialized Form
Methods inherited from class java.util.TreeSet |
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
TigerSet
public TigerSet()
TigerSet
public TigerSet(java.util.SortedSet aSet)
TigerSet
public TigerSet(java.util.Collection aSet)
union
public TigerSet union(java.util.SortedSet anOther)
intersection
public TigerSet intersection(java.util.SortedSet anOther)
intersection
public static TigerSet intersection(java.util.Collection aThis,
java.util.Collection anOther)
- Returns the intersection of the to given Collections.
The elements in the collections must be sorted an each
element can only be in the Collection one time (SortedSet).
difference
public TigerSet difference(java.util.SortedSet anOther)