public class ArrayPackedSet extends AbstractBoundedFlowSet
| Constructor and Description |
|---|
ArrayPackedSet(FlowUniverse universe) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object obj)
Adds
obj to this. |
void |
clear()
implemented, but *very* inefficient.
|
ArrayPackedSet |
clone()
Clones the current FlowSet.
|
void |
complement(FlowSet destFlow)
Complements this BoundedFlowSet, putting the result into
dest. |
boolean |
contains(java.lang.Object obj)
Returns true, if the object is in the set.
|
void |
copy(FlowSet destFlow)
Copies the current FlowSet into dest.
|
void |
difference(FlowSet otherFlow,
FlowSet destFlow)
Returns the set difference (this intersect ~other) of this FlowSet and
other, putting result into dest. |
java.lang.Object |
emptySet()
implemented, but inefficient.
|
boolean |
equals(java.lang.Object otherFlow) |
void |
intersection(FlowSet otherFlow,
FlowSet destFlow)
Returns the intersection (meet) of this FlowSet and
other,
putting result into dest. |
boolean |
isEmpty()
Returns true if this FlowSet is the empty set.
|
void |
remove(java.lang.Object obj)
Removes
obj from this. |
int |
size()
Returns the size of the current FlowSet.
|
java.util.List |
toList()
Returns an unbacked list of contained objects for this FlowSet.
|
java.util.List |
toList(int low,
int high) |
void |
union(FlowSet otherFlow,
FlowSet destFlow)
Returns the union (join) of this FlowSet and
other, putting
result into dest. |
complement, topSetadd, difference, hashCode, intersection, iterator, remove, toString, unionfinalize, getClass, notify, notifyAll, wait, wait, waitadd, difference, intersection, iterator, remove, unionpublic ArrayPackedSet(FlowUniverse universe)
public ArrayPackedSet clone()
FlowSetclone in interface FlowSetclone in class AbstractFlowSetpublic java.lang.Object emptySet()
AbstractFlowSetemptySet in interface FlowSetemptySet in class AbstractFlowSetpublic int size()
FlowSetsize in interface FlowSetsize in class AbstractFlowSetpublic boolean isEmpty()
FlowSetisEmpty in interface FlowSetisEmpty in class AbstractFlowSetpublic void clear()
AbstractFlowSetclear in interface FlowSetclear in class AbstractFlowSetpublic java.util.List toList(int low,
int high)
public java.util.List toList()
FlowSettoList in interface FlowSettoList in class AbstractFlowSetpublic void add(java.lang.Object obj)
FlowSetobj to this.add in interface FlowSetadd in class AbstractFlowSetpublic void complement(FlowSet destFlow)
BoundedFlowSetdest. dest and this may be the
same object.complement in interface BoundedFlowSetcomplement in class AbstractBoundedFlowSetpublic void remove(java.lang.Object obj)
FlowSetobj from this.remove in interface FlowSetremove in class AbstractFlowSetpublic void union(FlowSet otherFlow, FlowSet destFlow)
FlowSetother, putting
result into dest. dest, other and
this could be the same object.union in interface FlowSetunion in class AbstractFlowSetpublic void difference(FlowSet otherFlow, FlowSet destFlow)
FlowSetother, putting result into dest.
dest, other and this could be the
same object.difference in interface FlowSetdifference in class AbstractFlowSetpublic void intersection(FlowSet otherFlow, FlowSet destFlow)
FlowSetother,
putting result into dest. dest,
other and this could be the same object.intersection in interface FlowSetintersection in class AbstractFlowSetpublic boolean contains(java.lang.Object obj)
contains in interface FlowSetcontains in class AbstractFlowSetpublic boolean equals(java.lang.Object otherFlow)
equals in class AbstractFlowSetCopyright © 2012-2019 RoboVM AB. All Rights Reserved.