edu.toronto.cs.expr
Class JavaObjectOp

java.lang.Object
  extended by edu.toronto.cs.expr.NullaryOperator
      extended by edu.toronto.cs.expr.JavaObjectOp
All Implemented Interfaces:
Operator

public class JavaObjectOp
extends NullaryOperator


Constructor Summary
JavaObjectOp(java.lang.Object o)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getObject()
           
 int hashCode()
           
 java.lang.String name()
          Name of this operator
 
Methods inherited from class edu.toronto.cs.expr.NullaryOperator
arity, isWellFormed
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaObjectOp

public JavaObjectOp(java.lang.Object o)
Method Detail

name

public java.lang.String name()
Description copied from interface: Operator
Name of this operator

Returns:
a String value

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getObject

public java.lang.Object getObject()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object