S
- the larger type for focusingT
- the larger type for mirrored focusingA
- the smaller type for focusingB
- the smaller type for mirrored focusingpublic final class Under<S,T,A,B> extends Object implements Fn3<Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B>,Fn1<? super T,? extends S>,B,A>
Modifier and Type | Method and Description |
---|---|
A |
checkedApply(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic,
Fn1<? super T,? extends S> fn,
B b) |
static <S,T,A,B> Under<S,T,A,B> |
under() |
static <S,T,A,B> Fn2<Fn1<? super T,? extends S>,B,A> |
under(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic) |
static <S,T,A,B> Fn1<B,A> |
under(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic,
Fn1<? super T,? extends S> fn) |
static <S,T,A,B> A |
under(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic,
Fn1<? super T,? extends S> fn,
B b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply, apply, checkedApply, compose, contraMap, diMapL, discardR, flip, fn3, fn3, fn3, uncurry, widen
checkedApply, curried, curry, fn2, fromBiFunction, toBiFunction
public A checkedApply(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic, Fn1<? super T,? extends S> fn, B b)
public static <S,T,A,B> Under<S,T,A,B> under()
public static <S,T,A,B> Fn2<Fn1<? super T,? extends S>,B,A> under(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic)
public static <S,T,A,B> Fn1<B,A> under(Optic<? super Exchange<A,B,?,?>,? super Identity<?>,S,T,A,B> optic, Fn1<? super T,? extends S> fn)