Package com.pnfsoftware.jeb.util.base
Class Couple<A,B>
java.lang.Object
com.pnfsoftware.jeb.util.base.Couple<A,B>
- Type Parameters:
A
- the first elementB
- the second element
Handy class holding two typed elements. Null values are allowed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFirst()
static <A,
B> Collection<A> getFirstElements
(Collection<Couple<A, B>> couples) static <A,
B> Collection<B> getSecondElements
(Collection<Couple<A, B>> couples) int
hashCode()
void
void
toString()