net.ontopia.topicmaps.query.parser
Class Pair

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getFirst()
           
 java.lang.Object getSecond()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

protected java.lang.Object first

second

protected java.lang.Object second
Constructor Detail

Pair

public Pair(java.lang.Object first,
            java.lang.Object second)
Method Detail

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.