|
||||||||||
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
Constructor Summary | |
---|---|
ConsValue(Value h,
ListValue t)
|
Method Summary | |
---|---|
java.util.List<Value> |
enlist()
|
Value |
head()
Return the head value of a cons-like data structure. |
boolean |
isCons()
|
ListValue |
tail()
Return the tail value of a cons-like data structure. |
java.lang.String |
toString()
|
Methods inherited from class orc.runtime.values.ListValue |
---|
accept, iterator, make |
Methods inherited from class orc.runtime.values.Value |
---|
forceArg, forceCall, isNil, 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(Value h, ListValue t)
Method Detail |
---|
public boolean isCons()
isCons
in class Value
public Value head()
Value
head
in class Value
public ListValue tail()
Value
tail
in class Value
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<Value> enlist()
enlist
in class ListValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |