Package pl.project13.core.util
Class Pair<A,B>
- java.lang.Object
-
- pl.project13.core.util.Pair<A,B>
-
public class Pair<A,B> extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static <A,B>
Pair<A,B>of(A first, B second)java.lang.StringtoString()
-
-
-
Method Detail
-
of
@Nonnull public static <A,B> Pair<A,B> of(A first, B second)
-
equals
public boolean equals(@Nullable java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
@Nonnull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-