public class ToppedSet extends AbstractFlowSet
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object obj)
Adds
obj to this. |
void |
clear()
implemented, but *very* inefficient.
|
ToppedSet |
clone()
Clones the current FlowSet.
|
boolean |
contains(java.lang.Object obj)
Returns true if this FlowSet contains
obj. |
void |
copy(FlowSet d)
Copies the current FlowSet into dest.
|
void |
difference(FlowSet o,
FlowSet d)
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 o) |
void |
intersection(FlowSet o,
FlowSet d)
Returns the intersection (meet) of this FlowSet and
other,
putting result into dest. |
boolean |
isEmpty()
Returns true if this FlowSet is the empty set.
|
boolean |
isTop() |
void |
remove(java.lang.Object obj)
Removes
obj from this. |
void |
setTop(boolean top) |
int |
size()
Returns the size of the current FlowSet.
|
java.util.List |
toList()
Returns an unbacked list of contained objects for this FlowSet.
|
java.lang.String |
toString() |
void |
union(FlowSet o,
FlowSet d)
Returns the union (join) of this FlowSet and
other, putting
result into dest. |
add, difference, hashCode, intersection, iterator, remove, unionpublic ToppedSet(FlowSet under)
public void setTop(boolean top)
public boolean isTop()
public ToppedSet clone()
FlowSetclone in interface FlowSetclone in class AbstractFlowSetpublic void copy(FlowSet d)
FlowSetcopy in interface FlowSetcopy in class AbstractFlowSetpublic java.lang.Object emptySet()
AbstractFlowSetemptySet in interface FlowSetemptySet in class AbstractFlowSetpublic void clear()
AbstractFlowSetclear in interface FlowSetclear in class AbstractFlowSetpublic void union(FlowSet o, FlowSet d)
FlowSetother, putting
result into dest. dest, other and
this could be the same object.union in interface FlowSetunion in class AbstractFlowSetpublic void intersection(FlowSet o, FlowSet d)
FlowSetother,
putting result into dest. dest,
other and this could be the same object.intersection in interface FlowSetintersection in class AbstractFlowSetpublic void difference(FlowSet o, FlowSet d)
FlowSetother, putting result into dest.
dest, other and this could be the
same object.difference in interface FlowSetdifference in class AbstractFlowSetpublic boolean isEmpty()
FlowSetisEmpty in interface FlowSetisEmpty in class AbstractFlowSetpublic int size()
FlowSetsize in interface FlowSetsize in class AbstractFlowSetpublic void add(java.lang.Object obj)
FlowSetobj to this.add in interface FlowSetadd in class AbstractFlowSetpublic void remove(java.lang.Object obj)
FlowSetobj from this.remove in interface FlowSetremove in class AbstractFlowSetpublic boolean contains(java.lang.Object obj)
FlowSetobj.contains in interface FlowSetcontains in class AbstractFlowSetpublic java.util.List toList()
FlowSettoList in interface FlowSettoList in class AbstractFlowSetpublic boolean equals(java.lang.Object o)
equals in class AbstractFlowSetpublic java.lang.String toString()
toString in class AbstractFlowSetCopyright © 2012-2019 RoboVM AB. All Rights Reserved.