Uses of Interface
io.camunda.zeebe.util.Either
Packages that use Either
-
Uses of Either in io.camunda.zeebe.util
Classes in io.camunda.zeebe.util that implement EitherModifier and TypeClassDescriptionstatic final recordEither.Left<L,R> A left for either a left or right.static final recordEither.Right<L,R> A right for either a left or right.Methods in io.camunda.zeebe.util that return EitherModifier and TypeMethodDescriptionFlatmaps the right value into a new Either, if this is aEither.Right.static <L,R> Either <L, R> Either.left(L left) Returns aEither.Leftdescribing the given value.Maps the right value, if this is aEither.Right.Maps the left value, if this is aEither.Left.Either.EitherOptional.orElse(L left) static <L,R> Either <L, R> Either.right(R right) Returns aEither.Rightdescribing the given value.Executes the given action with the right value if this is aEither.Right, otherwise does nothing.Methods in io.camunda.zeebe.util that return types with arguments of type EitherModifier and TypeMethodDescriptionEither.collector()Returns a collector forEither<L,R>that collects them intoEither<List<L>,List<R>and favorsEither.LeftoverEither.Right.Either.collector()Returns a collector forEither<L,R>that collects them intoEither<List<L>,List<R>and favorsEither.LeftoverEither.Right.Either.collectorFoldingLeft()Returns a collector forEither<L,R>that collects them intoEither<L,List<R>and favorsEither.LeftoverEither.Right.Either.collectorFoldingLeft()Returns a collector forEither<L,R>that collects them intoEither<L,List<R>and favorsEither.LeftoverEither.Right.Method parameters in io.camunda.zeebe.util with type arguments of type EitherModifier and TypeMethodDescriptionFlatmaps the right value into a new Either, if this is aEither.Right.