Uses of Class
ca.uhn.fhir.util.monad.Either

Packages that use Either
Package
Description
 
  • Uses of Either in ca.uhn.fhir.util.monad

    Methods in ca.uhn.fhir.util.monad that return Either
    Modifier and Type
    Method
    Description
    <T> Either<L,T>
    Either.flatMap(Function<? super R,? extends Either<L,? extends T>> flatMapRight)
    Maps 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.
    <T> Either<L,T>
    Either.map(Function<? super R,? extends T> mapRight)
    Maps the right value to a new value using the provided function.
    Either.peek(Consumer<? super R> forRight)
    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 Either
    Modifier and Type
    Method
    Description
    <T> Either<L,T>
    Either.flatMap(Function<? super R,? extends Either<L,? extends T>> flatMapRight)
    Maps the right value to a new Either using the provided function.
    <U> U
    Either.transform(Function<? super Either<? super L,? super R>,? extends U> transform)
    Transforms the Either to a new value using the provided function.