org.semanticweb.elk.util.collections
Class Pair<First,Second>

java.lang.Object
  extended by org.semanticweb.elk.util.collections.Pair<First,Second>

public class Pair<First,Second>
extends Object


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

Field Detail

first

protected final First first

second

protected final Second second
Constructor Detail

Pair

public Pair(First first,
            Second second)
Method Detail

getFirst

public First getFirst()

getSecond

public Second getSecond()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.