Uses of Class
org.storynode.pigeon.option.Option
Packages that use Option
Package
Description
Optional, non-null, non-throwing wrapper types
Types representing the outcome of some operations
Tuples are heterogeneous collections of fixed size from zero to
n elements, in
order.-
Uses of Option in org.storynode.pigeon.assertion
Methods in org.storynode.pigeon.assertion with parameters of type OptionModifier and TypeMethodDescriptionstatic <T> @NotNull OptionAssert<T> Assertions.assertThat(Option<T> actual) assertThat.Method parameters in org.storynode.pigeon.assertion with type arguments of type OptionConstructors in org.storynode.pigeon.assertion with parameters of type Option -
Uses of Option in org.storynode.pigeon.option
Subclasses of Option in org.storynode.pigeon.optionModifier and TypeClassDescriptionclassNone<T>Represents anOptionwith no valueclassSome<T>AnOptionwith some value in it.Methods in org.storynode.pigeon.option that return OptionModifier and TypeMethodDescription<U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional.abstract <U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional.<U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional.<U> Option<U> If a value is present, returns anOptiondescribing (as if bysome(T)) the result of applying the given mapping function to the value, otherwise returns an emptyOption.abstract <U> Option<U> If a value is present, returns anOptiondescribing (as if bysome(T)) the result of applying the given mapping function to the value, otherwise returns an emptyOption.<U> Option<U> If a value is present, returns anOptiondescribing (as if bysome(T)) the result of applying the given mapping function to the value, otherwise returns an emptyOption.static <T> @NotNull Option<T> Creates a newOptionwith some value in it.static <T> @NotNull Option<T> Option.of(T value) Creates a newOptionwith some value in it.static <T> @NotNull Option<T> Option.some(T value) Creates a newOptionwith some value in it.Method parameters in org.storynode.pigeon.option with type arguments of type OptionModifier and TypeMethodDescription<U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional.abstract <U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional.<U> Option<U> If a value is present, returns the result of applying the givenOptional-bearing mapping function to the value, otherwise returns an emptyOptional. -
Uses of Option in org.storynode.pigeon.protocol
Methods in org.storynode.pigeon.protocol that return OptionModifier and TypeMethodDescriptionSafelyWrapped.tryUnwrap()The non-throwing variant ofWrapped.unwrap(). -
Uses of Option in org.storynode.pigeon.result
Methods in org.storynode.pigeon.result that return OptionModifier and TypeMethodDescriptionErr.tryUnwrap()The non-throwing variant ofWrapped.unwrap().Ok.tryUnwrap()The non-throwing variant ofWrapped.unwrap().Result.tryUnwrap()The non-throwing variant ofWrapped.unwrap().Err.tryUnwrapError()The non-throwing variant ofResult.unwrapError().Ok.tryUnwrapError()The non-throwing variant ofResult.unwrapError().Result.tryUnwrapError()The non-throwing variant ofResult.unwrapError(). -
Uses of Option in org.storynode.pigeon.tuple
Methods in org.storynode.pigeon.tuple that return Option