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 TypeMethodDescriptionbooleangetFirst()static <A,B> Collection<A> getFirstElements(Collection<Couple<A, B>> couples) static <A,B> Collection<B> getSecondElements(Collection<Couple<A, B>> couples) inthashCode()voidvoidtoString()