Package owl.collections
Class Pair<A,B>
- java.lang.Object
-
- owl.collections.Pair<A,B>
-
public abstract class Pair<A,B> extends Object
-
-
Constructor Summary
Constructors Constructor Description Pair()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <A,B>
Set<Pair<A,B>>allPairs(Set<A> fstSet, Set<B> sndSet)abstract Afst()<C> Pair<C,B>mapFst(Function<A,C> fun)<C> Pair<A,C>mapSnd(Function<B,C> fun)static <A,B>
Pair<A,B>of(A fst, B snd)abstract Bsnd()Pair<B,A>swap()StringtoString()
-