public class Pair<T,U> extends Tuple
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
T |
getOne() |
U |
getTwo() |
int |
hashCode() |
static <V,W> java.util.Collection<Pair<V,W>> |
PairCollection(V one,
java.util.Collection<W> twoList) |
java.lang.String |
toString() |
createTuple
public T getOne()
public U getTwo()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static <V,W> java.util.Collection<Pair<V,W>> PairCollection(V one, java.util.Collection<W> twoList)
Copyright © 2014. All Rights Reserved.