ConForM.CoopnTools.CoKer.CoopnSem.LogicEngine
Class LogicEqualGoal

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnSem.LogicEngine.LogicEqualGoal
All Implemented Interfaces:
LogicGoal, LogicObject

public class LogicEqualGoal
extends java.lang.Object
implements LogicGoal

Prolog-like equal goals.


Constructor Summary
LogicEqualGoal(LogicTerm left, LogicTerm right)
          Goal creator, for an array of sub-goals.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equality method.
 int hashCode()
          Hashcode method.
 LogicTerm left()
          Get the left term.
 LogicTerm right()
          Get the right term.
 java.lang.String toString()
          String conversion method.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicEqualGoal

public LogicEqualGoal(LogicTerm left,
                      LogicTerm right)
Goal creator, for an array of sub-goals.
Method Detail

left

public LogicTerm left()
Get the left term.

right

public LogicTerm right()
Get the right term.

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: LogicObject
Equality method.
Specified by:
equals in interface LogicObject
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Description copied from interface: LogicObject
Hashcode method.
Specified by:
hashCode in interface LogicObject
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Description copied from interface: LogicObject
String conversion method.
Specified by:
toString in interface LogicObject
Overrides:
toString in class java.lang.Object
Following copied from interface: ConForM.CoopnTools.CoKer.CoopnSem.LogicEngine.LogicObject
Returns:
a string image of the object, in a standard prolog form.