org.aksw.commons.collections
Class Pair<S,T>
java.lang.Object
org.aksw.commons.collections.Pair<S,T>
public class Pair<S,T>
- extends Object
A pair (two-tuple) of objects who can differ in type.
- Author:
- Konrad Höffner
|
Constructor Summary |
Pair(S first,
T second)
|
first
public S first
second
public T second
Pair
public Pair(S first,
T second)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.