Package jetbrains.buildServer.util
Class Couple<T>
- java.lang.Object
-
- jetbrains.buildServer.util.Couple<T>
-
public final class Couple<T> extends Object
A couple of two items with same type. A value object.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object thatObject)
boolean
equals(Couple<T> that)
T
get(int index)
T
getA()
Returnsa
, to allow use Couple in jsp.T
getB()
Returnsb
, to allow use Couple in jsp.int
hashCode()
static <TT> Couple<TT>
of(TT a, TT b)
String
toString()
-
-
-
Method Detail
-
of
public static <TT> Couple<TT> of(TT a, TT b)
-
-