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 booleanequals(Object thatObject)booleanequals(Couple<T> that)Tget(int index)TgetA()Returnsa, to allow use Couple in jsp.TgetB()Returnsb, to allow use Couple in jsp.inthashCode()static <TT> Couple<TT>of(TT a, TT b)StringtoString()
-
-
-
Method Detail
-
of
public static <TT> Couple<TT> of(TT a, TT b)
-
-