|
||||||||||
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.OptionValue
orc.runtime.values.SomeValue
public class SomeValue
Field Summary | |
---|---|
java.lang.Object |
content
|
Fields inherited from class orc.runtime.values.Value |
---|
futureNotReady |
Constructor Summary | |
---|---|
SomeValue(java.lang.Object content)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<E> visitor)
|
|
boolean |
isSome()
Test whether this value inhabits one of the option or list types. |
|
java.lang.Object |
untag()
Return the contained value v of an option some(v). |
Methods inherited from class orc.runtime.values.Value |
---|
forceArg, forceCall, isNone, signal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object content
Constructor Detail |
---|
public SomeValue(java.lang.Object content)
Method Detail |
---|
public boolean isSome()
Value
isSome
in class Value
public java.lang.Object untag()
Value
untag
in class Value
public <E> E accept(Visitor<E> visitor)
accept
in class OptionValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |