Uses of Class
fj.data.optic.Optional
-
Packages that use Optional Package Description fj.data Common algebraic data types.fj.data.optic Optic data types adapted from the Scala Monocle library and inspired by the Haskell Lens library. -
-
Uses of Optional in fj.data
Methods in fj.data that return Optional Modifier and Type Method Description static <A> Optional<List<A>,A>List.Optic. head()Optional targeted on Cons head.static <A> Optional<List<A>,List<A>>List.Optic. tail()Optional targeted on Cons tail. -
Uses of Optional in fj.data.optic
Methods in fj.data.optic that return Optional Modifier and Type Method Description Optional<S,A>Iso. asOptional()Optional<S,A>Lens. asOptional()Optional<S,A>Prism. asOptional()<C> Optional<S,C>Optional. composeIso(Iso<A,C> other)<C> Optional<S,C>Optional. composeLens(Lens<A,C> other)<C,D>
Optional<S,C>Prism. composeLens(Lens<A,C> other)<C> Optional<S,C>Iso. composeOptional(Optional<A,C> other)<C> Optional<S,C>Lens. composeOptional(Optional<A,C> other)<C> Optional<S,C>Optional. composeOptional(Optional<A,C> other)<C,D>
Optional<S,C>Prism. composeOptional(Optional<A,C> other)<C> Optional<S,C>Lens. composePrism(Prism<A,C> other)<C> Optional<S,C>Optional. composePrism(Prism<A,C> other)<C> Optional<P2<S,C>,P2<A,C>>Optional. first()static <S> Optional<S,S>Optional. id()static <S,A>
Optional<S,A>Optional. ignored()static <S,A>
Optional<S,A>Optional. optional(F<S,Option<A>> getOption, F<A,F<S,S>> set)<C> Optional<P2<C,S>,P2<C,A>>Optional. second()<S1> Optional<Either<S,S1>,A>Optional. sum(Optional<S1,A> other)join twoOptionalwith the same targetMethods in fj.data.optic with parameters of type Optional Modifier and Type Method Description <C> Optional<S,C>Iso. composeOptional(Optional<A,C> other)<C> Optional<S,C>Lens. composeOptional(Optional<A,C> other)<C> Optional<S,C>Optional. composeOptional(Optional<A,C> other)<C,D>
Optional<S,C>Prism. composeOptional(Optional<A,C> other)<S1> Optional<Either<S,S1>,A>Optional. sum(Optional<S1,A> other)join twoOptionalwith the same target
-