Uses of Class
fj.data.optic.PLens
-
Packages that use PLens Package Description fj Types that set the premise for the existence of Functional Java.fj.data.optic Optic data types adapted from the Scala Monocle library and inspired by the Haskell Lens library. -
-
Uses of PLens in fj
Methods in fj that return PLens Modifier and Type Method Description static <A,B,C>
PLens<P2<A,B>,P2<C,B>,A,C>P2.Optic. _1p()
Polyomorphic lens targeted on _1.static <A,B,C>
PLens<P2<A,B>,P2<A,C>,B,C>P2.Optic. _2p()
Polyomorphic lens targeted on _2. -
Uses of PLens in fj.data.optic
Subclasses of PLens in fj.data.optic Modifier and Type Class Description class
Lens<S,A>
PLens
with a monomorphic set functionFields in fj.data.optic declared as PLens Modifier and Type Field Description (package private) PLens<S,S,A,A>
Lens. pLens
Methods in fj.data.optic that return PLens Modifier and Type Method Description PLens<S,T,A,B>
PIso. asLens()
<C,D>
PLens<S,T,C,D>PLens. composeIso(PIso<A,B,C,D> other)
<C,D>
PLens<S,T,C,D>PIso. composeLens(PLens<A,B,C,D> other)
<C,D>
PLens<S,T,C,D>PLens. composeLens(PLens<A,B,C,D> other)
static <S,T>
PLens<S,T,S,T>PLens. pId()
static <S,T,A,B>
PLens<S,T,A,B>PLens. pLens(F<S,A> get, F<B,F<S,T>> set)
create aPLens
using a pair of functions: one to get the target, one to set the target.<S1,T1>
PLens<Either<S,S1>,Either<T,T1>,A,B>PLens. sum(PLens<S1,T1,A,B> other)
join twoPLens
with the same targetMethods in fj.data.optic with parameters of type PLens Modifier and Type Method Description <B,C,D>
Fold<S,C>Fold. composeLens(PLens<A,B,C,D> other)
<B,C,D>
Getter<S,C>Getter. composeLens(PLens<A,B,C,D> other)
<C,D>
PLens<S,T,C,D>PIso. composeLens(PLens<A,B,C,D> other)
<C,D>
PLens<S,T,C,D>PLens. composeLens(PLens<A,B,C,D> other)
<C,D>
POptional<S,T,C,D>POptional. composeLens(PLens<A,B,C,D> other)
<C,D>
POptional<S,T,C,D>PPrism. composeLens(PLens<A,B,C,D> other)
<C,D>
PSetter<S,T,C,D>PSetter. composeLens(PLens<A,B,C,D> other)
<C,D>
PTraversal<S,T,C,D>PTraversal. composeLens(PLens<A,B,C,D> other)
compose aPTraversal
with aPLens
<S1,T1>
PLens<Either<S,S1>,Either<T,T1>,A,B>PLens. sum(PLens<S1,T1,A,B> other)
join twoPLens
with the same targetConstructors in fj.data.optic with parameters of type PLens Constructor Description Lens(PLens<S,S,A,A> pLens)
-