EVolve.util.Equators
Class Set
java.lang.Object
|
+--EVolve.util.Equators.Set
- Direct Known Subclasses:
- OrderedSet, SpecialUnorderedSet
- public abstract class Set
- extends java.lang.Object
Constructor Summary |
Set()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected int[] data
size
protected int size
emptySlot
protected int emptySlot
entityNumber
protected int entityNumber
Set
public Set()
size
public int size()
getElement
public int getElement(int i)
setFull
public boolean setFull()
getValidSize
public int getValidSize()
getEntityId
public int getEntityId(int i)
addElement
public abstract void addElement(int element)
intersection
public abstract Set intersection(Set set)
union
public abstract Set union(Set set)
exist
public abstract boolean exist(int element)
getHashValue
public abstract int getHashValue()
newSet
public abstract Set newSet()
equals
public abstract boolean equals(Set set,
float percent)