Class Prism<S,A>
java.lang.Object
fj.data.optic.PPrism<S,S,A,A>
fj.data.optic.Prism<S,A>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasSetter()composeIso(Iso<A, C> other) composeLens(Lens<A, C> other) composeOptional(Optional<A, C> other) composePrism(Prism<A, C> other) composeSetter(Setter<A, C> other) composeTraversal(Traversal<A, C> other) get the target of aPPrismor nothing if there is no targetgetOrModify(S s) get the target of aPPrismor modify the source in case there is no targetstatic <S> Prism<S, S> id()static <S,A> Prism <S, A> reverseGet(A a) get the modified source of aPPrismMethods inherited from class PPrism
asFold, composeFold, composeGetter, composeIso, composeLens, composeOptional, composePrism, composeSetter, composeTraversal, isMatching, modify, modifyEitherF, modifyFunctionF, modifyIOF, modifyListF, modifyOption, modifyOptionF, modifyP1F, modifyPromiseF, modifyStreamF, modifyTrampolineF, modifyV2F, modifyValidationF, pId, pPrism, re, set, setOption
-
Field Details
-
pPrism
-
-
Constructor Details
-
Prism
-
-
Method Details
-
getOrModify
-
reverseGet
-
getOption
-
composeSetter
-
composeTraversal
-
composeOptional
-
composeLens
-
composePrism
-
composeIso
-
asSetter
-
asTraversal
-
asOptional
-
id
-
prism
-