|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.tables.ESet | +--org.erights.e.elib.tables.ConstSet
Untamed:
Field Summary | |
static ConstSet |
EmptySet
Enabled: |
(package private) static long |
serialVersionUID
|
Fields inherited from class org.erights.e.elib.tables.ESet |
myMap |
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.tables.Selfless |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
Constructor Summary | |
private |
ConstSet(ConstMap map)
|
Method Summary | |
void |
__printOn(TextWriter out)
Enabled: Prints as an E list send the message '.asSet()' |
double |
compareTo(ConstSet other)
Enabled: This method enables E's magnitude comparison operators (<, <=, <=>, >=, >) to express subset-ness of these sets. |
private ConstMap |
getMap()
|
Object[] |
getSpreadUncall()
Enabled: Uses 'elementsList asSet()', where the elementsList is as returned by getElements. |
static ConstSet |
make(ConstMap map)
Enabled: |
ESet |
readOnly()
Enabled: |
ConstSet |
snapshot()
Enabled: |
Methods inherited from class org.erights.e.elib.tables.ESet |
and, butNot, contains, diverge, diverge, elementType, getElements, getElements, intersects, iterate, or, or, printOn, size, sort, sort, toString, with, without |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
public static final ConstSet EmptySet
Constructor Detail |
private ConstSet(ConstMap map)
Method Detail |
public static ConstSet make(ConstMap map)
public Object[] getSpreadUncall()
getSpreadUncall
in interface Selfless
public ConstSet snapshot()
snapshot
in class ESet
public ESet readOnly()
readOnly
in class ESet
public void __printOn(TextWriter out) throws IOException
__printOn
in interface EPrintable
IOException
private ConstMap getMap()
public double compareTo(ConstSet other)
If this set is a strict subset of other's, return -1.0. If this set has the same elements as other, return 0.0. If this set is a strict superset of other, return 1.0. Otherwise return NaN.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |