orc.runtime.sites.core
Class Equal

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.EvalSite
              extended by orc.runtime.sites.core.Equal
All Implemented Interfaces:
Callable

public class Equal
extends EvalSite

Author:
dkitchin, quark

Field Summary
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
Equal()
           
 
Method Summary
static boolean eq(java.lang.Object a, java.lang.Object b)
          Are two values equivalent, in the sense that one may be substituted for another without changing the meaning of the program?
 java.lang.Object evaluate(Args args)
           
static Type type()
           
 
Methods inherited from class orc.runtime.sites.EvalSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, signal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Equal

public Equal()
Method Detail

evaluate

public java.lang.Object evaluate(Args args)
                          throws TokenException
Specified by:
evaluate in class EvalSite
Throws:
TokenException

eq

public static boolean eq(java.lang.Object a,
                         java.lang.Object b)
Are two values equivalent, in the sense that one may be substituted for another without changing the meaning of the program?

See Also:
Eq

type

public static Type type()