net.ontopia.topicmaps.query.parser
Class Pair

java.lang.Object
  extended by net.ontopia.topicmaps.query.parser.Pair

public class Pair
extends Object

INTERNAL: Used to represent a : b pairs in tolog queries.


Field Summary
protected  Object first
           
protected  Object second
           
 
Constructor Summary
Pair(Object first, Object second)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getFirst()
           
 Object getSecond()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

protected Object first

second

protected Object second
Constructor Detail

Pair

public Pair(Object first,
            Object second)
Method Detail

getFirst

public Object getFirst()

getSecond

public Object getSecond()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2000-2012 Ontopia.