static class
Pattern.Transform<A,B>
static <A, B> Function<Pair<A,B>,A>
getLeft()
static <A, B> Function<Pair<A,B>,B>
getRight()
<B> Pattern<B>
transform(Function<? super B,? extends A> fun)