|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--polya.Polylist | +--polya.Incremental
Fields inherited from class polya.Polylist |
nil |
Constructor Summary | |
Incremental(Growable growable)
|
Method Summary | |
void |
ensureGrown()
|
java.lang.Object |
first()
first() returns the first element of a non-empty Polylist. |
Polylist |
getList()
|
boolean |
grown()
|
boolean |
isEmpty()
isEmpty() tells whether the Polylist is empty. |
boolean |
nonEmpty()
nonEmpty() tells whether the Polylist is non-empty. |
Polylist |
rest()
rest() returns the rest of a non-empty Polylist. |
java.lang.String |
toString()
toString() converts Polylist to string, e.g. |
Methods inherited from class polya.Polylist |
analysis,
append,
array,
cons,
cons,
cons,
coprefix,
elements,
equals,
equals,
explode,
fifth,
first,
fourth,
implode,
length,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
list,
main,
map,
member,
nth,
PolylistFromArray,
PolylistFromEnum,
prefix,
range,
range,
reduce,
rest,
reverse,
second,
setFirst,
sixth,
third |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Incremental(Growable growable)
Method Detail |
public java.lang.Object first()
public Polylist rest()
public boolean isEmpty()
public boolean nonEmpty()
public java.lang.String toString()
public void ensureGrown()
public boolean grown()
public Polylist getList()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |