|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.runtime.values.Value
orc.runtime.values.ListValue
orc.runtime.values.ConsValue
public class ConsValue
Field Summary |
---|
Fields inherited from class orc.runtime.values.Value |
---|
futureNotReady |
Constructor Summary | |
---|---|
ConsValue(java.lang.Object h,
ListValue t)
|
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
enlist()
|
java.lang.String |
toString()
|
void |
uncons(Token caller)
Return the head and tail of a cons-like data structure to a token. |
void |
unnil(Token caller)
|
Methods inherited from class orc.runtime.values.ListValue |
---|
accept, iterator, make |
Methods inherited from class orc.runtime.values.Value |
---|
forceArg, forceCall, isNone, isSome, signal, untag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConsValue(java.lang.Object h, ListValue t)
Method Detail |
---|
public void uncons(Token caller)
ListLike
uncons
in interface ListLike
uncons
in class ListValue
public void unnil(Token caller)
unnil
in interface ListLike
unnil
in class ListValue
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.lang.Object> enlist()
enlist
in class ListValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |