Package ora4mas.nopl.oe
Class Pair<T1,T2>
- java.lang.Object
-
- ora4mas.nopl.oe.Pair<T1,T2>
-
- All Implemented Interfaces:
jaca.ToProlog
,java.io.Serializable
public class Pair<T1,T2> extends java.lang.Object implements jaca.ToProlog, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Detail
-
getLeft
public T1 getLeft()
-
getRight
public T2 getRight()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAsPrologStr
public java.lang.String getAsPrologStr()
- Specified by:
getAsPrologStr
in interfacejaca.ToProlog
-
-