EVolve.util.equators
Class UnorderedUnlimitedSet

java.lang.Object
  |
  +--EVolve.util.equators.Set
        |
        +--EVolve.util.equators.UnorderedUnlimitedSet
All Implemented Interfaces:
java.lang.Cloneable

public class UnorderedUnlimitedSet
extends Set


Field Summary
 
Fields inherited from class EVolve.util.equators.Set
data, emptySlot, entityNumber, size
 
Constructor Summary
UnorderedUnlimitedSet()
           
 
Method Summary
 void addElement(long id)
           
 java.lang.Object clone()
           
 boolean equals(Set set, float percent)
           
 boolean exist(long element)
           
 long getElement(int i)
           
 long getEntityId(int i)
           
 long getHashValue()
           
 long getMaxEntityId()
           
 float getOrderedMatch(UnorderedUnlimitedSet next)
           
 Set intersection(Set set)
           
 Set newSet()
           
 boolean setFull()
           
 int size()
           
 Set union(Set set)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnorderedUnlimitedSet

public UnorderedUnlimitedSet()
Method Detail

size

public int size()
Overrides:
size in class Set

getElement

public long getElement(int i)
Overrides:
getElement in class Set

setFull

public boolean setFull()
Overrides:
setFull in class Set

getEntityId

public long getEntityId(int i)
Overrides:
getEntityId in class Set

addElement

public void addElement(long id)
Specified by:
addElement in class Set

newSet

public Set newSet()
Specified by:
newSet in class Set

union

public Set union(Set set)
Specified by:
union in class Set

intersection

public Set intersection(Set set)
Specified by:
intersection in class Set

exist

public boolean exist(long element)
Specified by:
exist in class Set

equals

public boolean equals(Set set,
                      float percent)
Specified by:
equals in class Set

getOrderedMatch

public float getOrderedMatch(UnorderedUnlimitedSet next)

getMaxEntityId

public long getMaxEntityId()

getHashValue

public long getHashValue()
Specified by:
getHashValue in class Set

clone

public java.lang.Object clone()
Overrides:
clone in class Set