
Uses of Class
ca.uhn.fhir.util.monad.Either3
Packages that use Either3
-
Uses of Either3 in ca.uhn.fhir.util.monad
Methods in ca.uhn.fhir.util.monad that return Either3Modifier and TypeMethodDescriptionMaps the Either to a new Either using the provided function.static <L,
M, R> Either3 <L, M, R> Eithers.for3
(L left, M middle, R right) Creates an Either3 instance from three values.static <L,
M, R> Either3 <L, M, R> Eithers.forLeft3
(L left) Creates an Either3 instance from a left value.static <L,
M, R> Either3 <L, M, R> Eithers.forMiddle3
(M middle) Creates an Either3 instance from a middle value.static <L,
M, R> Either3 <L, M, R> Eithers.forRight3
(R right) Creates an Either3 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 Either3 unchanged.Either3.propagate()
Either3.rotate()
Rotates the types of the Either3 to the right.Either3.swap()
Swaps the position of the left and right types.Methods in ca.uhn.fhir.util.monad with parameters of type Either3Modifier and TypeMethodDescriptionMethod parameters in ca.uhn.fhir.util.monad with type arguments of type Either3Modifier and TypeMethodDescriptionMaps the Either to a new Either using the provided function.<U> U
Transforms the Either to a new value using the provided function.