EVolve.util.Equators
Class OrderedSet
java.lang.Object
|
+--EVolve.util.Equators.Set
|
+--EVolve.util.Equators.OrderedSet
- Direct Known Subclasses:
- NormalUnorderedSet
- public class OrderedSet
- extends Set
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderedSet
public OrderedSet()
OrderedSet
public OrderedSet(int interval)
addElement
public void addElement(int element)
- Specified by:
addElement in class Set
intersection
public Set intersection(Set set)
- Specified by:
intersection in class Set
union
public Set union(Set set)
- Specified by:
union in class Set
exist
public boolean exist(int element)
- Specified by:
exist in class Set
getHashValue
public int getHashValue()
- Specified by:
getHashValue in class Set
newSet
public Set newSet()
- Specified by:
newSet in class Set
equals
public boolean equals(Set set,
float percent)
- Specified by:
equals in class Set