orc.runtime.values
Class TaggedValue

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.values.TaggedValue
All Implemented Interfaces:
Eq

public class TaggedValue
extends Value
implements Eq


Field Summary
 Datasite tag
           
 java.lang.Object[] values
           
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
TaggedValue(Datasite tag, java.lang.Object[] values)
           
 
Method Summary
<E> E
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 orc.runtime.values.Value
forceArg, forceCall, signal, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

values

public java.lang.Object[] values

tag

public Datasite tag
Constructor Detail

TaggedValue

public TaggedValue(Datasite tag,
                   java.lang.Object[] values)
Method Detail

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