Uses of Class
fj.data.optic.Lens
-
Packages that use Lens 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 Lens in fj
Methods in fj that return Lens Modifier and Type Method Description static <A,B>
Lens<P2<A,B>,A>P2.Optic. _1()
Monomorphic lens targeted on _1.static <A,B>
Lens<P2<A,B>,B>P2.Optic. _2()
Monomorphic lens targeted on _1. -
Uses of Lens in fj.data.optic
Methods in fj.data.optic that return Lens Modifier and Type Method Description Lens<S,A>
Iso. asLens()
<C> Lens<S,C>
Lens. composeIso(Iso<A,C> other)
<C> Lens<S,C>
Iso. composeLens(Lens<A,C> other)
<C> Lens<S,C>
Lens. composeLens(Lens<A,C> other)
static <S> Lens<S,S>
Lens. id()
static <S,A>
Lens<S,A>Lens. lens(F<S,A> get, F<A,F<S,S>> set)
create aLens
using a pair of functions: one to get the target, one to set the target.<S1> Lens<Either<S,S1>,A>
Lens. sum(Lens<S1,A> other)
join twoLens
with the same targetMethods in fj.data.optic with parameters of type Lens Modifier and Type Method Description <C> Lens<S,C>
Iso. composeLens(Lens<A,C> other)
<C> Lens<S,C>
Lens. composeLens(Lens<A,C> other)
<C> Optional<S,C>
Optional. composeLens(Lens<A,C> other)
<C,D>
Optional<S,C>Prism. composeLens(Lens<A,C> other)
<S1> Lens<Either<S,S1>,A>
Lens. sum(Lens<S1,A> other)
join twoLens
with the same target
-