|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.tables.EList | +--org.erights.e.elib.tables.ConstList | +--org.erights.e.elib.tables.ConstListImpl
Field Summary | |
private Object |
myVals
myVals is an array |
private static long |
serialVersionUID
|
Fields inherited from class org.erights.e.elib.tables.ConstList |
EmptyList |
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 | |
(package private) |
ConstListImpl(Object vals)
The caller is *trusted* not to modify vals after handing it in. |
Method Summary | |
Object[] |
__optUncall()
ConstLists don't uncall according to the form of their spreadCall, in order to avoid an infinite regress. |
Object |
get(int index)
Enabled: What value does 'index' map to? |
Object |
getSecretArray()
The caller is *trusted* not to modify the returned array. |
Object[] |
getSpreadUncall()
'ConstListMaker.fromArray(myVals)' |
int |
size()
How many entries are in the table? |
Class |
valueType()
All values in this table must be of this type |
Methods inherited from class org.erights.e.elib.tables.ConstList |
__printOn, accepts, and, butNot, coerce, coerce, compareTo, compareTo, fromArray, fromArray, get, GetMaker, getName, makeSlot, makeSlot, match, not, or, readOnly, snapshot, xor |
Methods inherited from class org.erights.e.elib.tables.EList |
add, asKeys, asMap, asSet, contains, diverge, diverge, getArray, getArray, getArray, includes, indexOf1, indexOf1, iterate, last, lastIndexOf1, lastIndexOf1, lastStartOf, lastStartOf, multiply, printOn, run, run, sort, sort, startOf, startOf, toString, with, with |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private final Object myVals
Constructor Detail |
ConstListImpl(Object vals)
Method Detail |
public Object[] getSpreadUncall()
getSpreadUncall
in interface Selfless
public Object[] __optUncall()
'ConstListMaker.run(myVals...)'
__optUncall
in class ConstList
public Object getSecretArray()
getSecretArray
in interface ArrayedList
public Object get(int index) throws IndexOutOfBoundsException
EList
get
in class EList
IndexOutOfBoundsException
- if index isn't in 0..!size.public int size()
size
in class EList
public Class valueType()
valueType
in class EList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |