com.hp.hpl.jena.sdb.util
Class Pair<A,B>

java.lang.Object
  extended by com.hp.hpl.jena.sdb.util.Pair<A,B>

public class Pair<A,B>
extends Object


Constructor Summary
Pair(A a, B b)
           
 
Method Summary
 A car()
           
 B cdr()
           
 boolean equals(Object other)
           
 A getLeft()
           
 B getRight()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pair

public Pair(A a,
            B b)
Method Detail

getLeft

public A getLeft()

getRight

public B getRight()

car

public A car()

cdr

public B cdr()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright ? 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Epimorphics Ltd.