-
Methods Method Description io.vavr.control.Either.get() Unsafe operation (but not marked for removal). UseEither.fold(Function, Function)
,Either.getOrElse(Object)
,Either.getOrElseGet(Function)
orEither.getOrElseThrow(Function)
instead. Other alternatives areEither.onRight(Consumer)
,Iterable.forEach(Consumer)
or iteration using a for-loop.io.vavr.control.Either.getLeft() Unsafe operation (but not marked for removal). UseEither.fold(Function, Function)
instead. An alternative isEither.onLeft(Consumer)
.io.vavr.control.Option.get() Unsafe operation (but not marked for removal). UserOption.getOrElse(Object)
,Option.getOrElseGet(Supplier)
orOption.getOrElseThrow(Supplier)
instead. Other alternatives areOption.onDefined(Consumer)
,Iterable.forEach(Consumer)
or iteration using a for-loop.io.vavr.control.Try.get() Unsafe operation (but not marked for removal). UseTry.fold(Function, Function)
,Try.getOrElse(Object)
,Try.getOrElseGet(Supplier)
orTry.getOrElseThrow(Function)
instead. Other alternatives areTry.onSuccess(Consumer)
,Iterable.forEach(Consumer)
or iteration using a for-loop.io.vavr.control.Try.getCause() Unsafe operation (but not marked for removal). UseTry.fold(Function, Function)
instead. An alternative isTry.onFailure(Consumer)
.