net.ontopia.topicmaps.query.parser
Class Pair
java.lang.Object
net.ontopia.topicmaps.query.parser.Pair
public class Pair
- extends java.lang.Object
INTERNAL: Used to represent a : b pairs in tolog queries.
Field Summary |
protected java.lang.Object |
first
|
protected java.lang.Object |
second
|
Constructor Summary |
Pair(java.lang.Object first,
java.lang.Object second)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
first
protected java.lang.Object first
second
protected java.lang.Object second
Pair
public Pair(java.lang.Object first,
java.lang.Object second)
getFirst
public java.lang.Object getFirst()
getSecond
public java.lang.Object getSecond()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2000-2012 Ontopia.