Uses of Class
uk.co.terminological.rjava.utils.RStreams.Exceptional
Packages that use RStreams.Exceptional
-
Uses of RStreams.Exceptional in uk.co.terminological.rjava.utils
Methods in uk.co.terminological.rjava.utils that return RStreams.ExceptionalModifier and TypeMethodDescriptionstatic <T,E extends Exception>
RStreams.Exceptional<T>If the exceptional has a value, and the value matches the given predicate, returns anExceptionaldescribing the value, otherwise aExceptionalfailing due to aFilteredException.RStreams.Exceptional.filtered()<U> RStreams.Exceptional<U>RStreams.Exceptional.flatMap(Function<? super T, ? extends RStreams.Exceptional<? extends U>> mapper) If a value is present, returns the result of applying the givenExceptional-bearing mapping function to the value, otherwise returns an emptyExceptional.<U> RStreams.Exceptional<U>RStreams.Exceptional.map(RStreams.ExceptionalFunction<? super T, ? extends U> mapper) If a value is present, returns anExceptionalcontaining the result of applying the given mapping function to the value, otherwise returns a failingExceptional.static <T,E extends Exception>
RStreams.Exceptional<T>RStreams.Exceptional.success(T value) Methods in uk.co.terminological.rjava.utils that return types with arguments of type RStreams.ExceptionalModifier and TypeMethodDescriptionstatic <T,R> Function<T, RStreams.Exceptional<R>> RStreams.deferError(RStreams.ExceptionalFunction<T, R> fn) deferError.Method parameters in uk.co.terminological.rjava.utils with type arguments of type RStreams.ExceptionalModifier and TypeMethodDescription<U> RStreams.Exceptional<U>RStreams.Exceptional.flatMap(Function<? super T, ? extends RStreams.Exceptional<? extends U>> mapper) If a value is present, returns the result of applying the givenExceptional-bearing mapping function to the value, otherwise returns an emptyExceptional.