orc.runtime.values
Class TaggedValue
java.lang.Object
orc.runtime.values.Value
orc.runtime.values.TaggedValue
- All Implemented Interfaces:
- Eq
public class TaggedValue
- extends Value
- implements Eq
Method Summary |
|
accept(Visitor<E> visitor)
|
boolean |
eqTo(java.lang.Object that_)
Return true if this is equivalent to that. |
boolean |
equals(java.lang.Object that_)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
values
public java.lang.Object[] values
tag
public Datasite tag
TaggedValue
public TaggedValue(Datasite tag,
java.lang.Object[] values)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
accept
public <E> E accept(Visitor<E> visitor)
- Overrides:
accept
in class Value
equals
public boolean equals(java.lang.Object that_)
- Overrides:
equals
in class java.lang.Object
eqTo
public boolean eqTo(java.lang.Object that_)
- Description copied from interface:
Eq
- Return true if this is equivalent to that. that is assumed to be
non-null. This is often implemented in terms of
Equal.eq(Object, Object)
. Two "eq" objects should have
the same hashCode at the time they are compared.
- Specified by:
eqTo
in interface Eq
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object