Uses of Class
org.storynode.pigeon.option.Option
Packages that use Option
Package
Description
Optional, non-null, non-throwing wrapper types
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.Fields in org.storynode.pigeon.option declared as OptionMethods in org.storynode.pigeon.option that return OptionModifier and TypeMethodDescriptionIf a value is present, and the value matches the given predicate, returns anOptiondescribing the value, otherwise returns an emptyOption.If a value is present, and the value matches the given predicate, returns anOptiondescribing the value, otherwise returns an emptyOption.<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.tuple
Methods in org.storynode.pigeon.tuple that return Option