
Uses of Class
ca.uhn.fhir.util.monad.Either
Packages that use Either
-
Uses of Either in ca.uhn.fhir.util.monad
Methods in ca.uhn.fhir.util.monad that return EitherModifier and TypeMethodDescriptionMaps the right value to a new Either using the provided function.static <L,
R> Either <L, R> Eithers.for2
(L left, R right) Creates an Either instance from two values.static <L,
R> Either <L, R> Eithers.forLeft
(L left) Creates an Either instance from a left value.static <L,
R> Either <L, R> Eithers.forRight
(R right) Creates an Either instance from a right value.Maps the right value to a new value using the provided function.Executes the provided consumer if the right value is present, returning the Either unchanged.Either.swap()
Swaps the left and right types.Method parameters in ca.uhn.fhir.util.monad with type arguments of type EitherModifier and TypeMethodDescriptionMaps the right value to a new Either using the provided function.<U> U
Transforms the Either to a new value using the provided function.