public abstract class AbstractFlowSet extends java.lang.Object implements FlowSet, java.lang.Iterable
public void yyy(FlowSet dest) {
if (dest instanceof xxx) {
blahblah;
} else
super.yyy(dest)
}
| Constructor and Description |
|---|
AbstractFlowSet() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(java.lang.Object obj)
Adds
obj to this. |
void |
add(java.lang.Object obj,
FlowSet dest)
puts
this union obj into dest. |
void |
clear()
implemented, but *very* inefficient.
|
abstract AbstractFlowSet |
clone()
Clones the current FlowSet.
|
abstract boolean |
contains(java.lang.Object obj)
Returns true if this FlowSet contains
obj. |
void |
copy(FlowSet dest)
Copies the current FlowSet into dest.
|
void |
difference(FlowSet other)
Returns the set difference (this intersect ~other) of this FlowSet and
other, putting result into this. |
void |
difference(FlowSet other,
FlowSet dest)
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) |
int |
hashCode() |
void |
intersection(FlowSet other)
Returns the intersection (meet) of this FlowSet and
other,
putting result into this. |
void |
intersection(FlowSet other,
FlowSet dest)
Returns the intersection (meet) of this FlowSet and
other,
putting result into dest. |
abstract boolean |
isEmpty()
Returns true if this FlowSet is the empty set.
|
java.util.Iterator |
iterator()
returns an iterator over the elements of the flowSet.
|
abstract void |
remove(java.lang.Object obj)
Removes
obj from this. |
void |
remove(java.lang.Object obj,
FlowSet dest)
Puts
this minus obj into dest. |
abstract int |
size()
Returns the size of the current FlowSet.
|
abstract java.util.List |
toList()
Returns an unbacked list of contained objects for this FlowSet.
|
java.lang.String |
toString() |
void |
union(FlowSet other)
Returns the union (join) of this FlowSet and
other, putting
result into this. |
void |
union(FlowSet other,
FlowSet dest)
Returns the union (join) of this FlowSet and
other, putting
result into dest. |
public abstract AbstractFlowSet clone()
FlowSetpublic java.lang.Object emptySet()
public void copy(FlowSet dest)
FlowSetpublic void clear()
public void union(FlowSet other)
FlowSetother, putting
result into this.public void union(FlowSet other, FlowSet dest)
FlowSetother, putting
result into dest. dest, other and
this could be the same object.public void intersection(FlowSet other)
FlowSetother,
putting result into this.intersection in interface FlowSetpublic void intersection(FlowSet other, FlowSet dest)
FlowSetother,
putting result into dest. dest,
other and this could be the same object.intersection in interface FlowSetpublic void difference(FlowSet other)
FlowSetother, putting result into this.difference in interface FlowSetpublic void difference(FlowSet other, FlowSet dest)
FlowSetother, putting result into dest.
dest, other and this could be the
same object.difference in interface FlowSetpublic abstract boolean isEmpty()
FlowSetpublic abstract int size()
FlowSetpublic abstract void add(java.lang.Object obj)
FlowSetobj to this.public void add(java.lang.Object obj,
FlowSet dest)
FlowSetthis union obj into dest.public abstract void remove(java.lang.Object obj)
FlowSetobj from this.public void remove(java.lang.Object obj,
FlowSet dest)
FlowSetthis minus obj into dest.public abstract boolean contains(java.lang.Object obj)
FlowSetobj.public java.util.Iterator iterator()
FlowSettoList().iterator().public abstract java.util.List toList()
FlowSetpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012-2019 RoboVM AB. All Rights Reserved.