Uses of Class
org.javimmutable.collections.NotNull
Packages that use NotNull
-
Uses of NotNull in org.javimmutable.collections
Methods in org.javimmutable.collections that return NotNullModifier and TypeMethodDescriptionInvokes absentAction if this is empty.Invokes presentAction with this value if this is full.NotNull.applyThrows
(Proc0Throws<E> absentAction) Invokes absentAction if this is empty.NotNull.applyThrows
(Proc1Throws<? super T, E> presentAction) Invokes presentAction with this value if this is full.static <T> NotNull
<T> Determine if the object is an instance of the specified Class or a subclass.static <T> NotNull
<T> NotNull.empty()
Returns aNotNull
with no value.static <T> NotNull
<T> Returns aNotNull
containing the first value of the collection.static <T> NotNull
<T> Returns aNotNull
containing the first value of the collection for which the predicate returns true.abstract <A> NotNull
<A> Produce aNotNull
based on this one.Produce aNotNull
based on this one.abstract <A> NotNull
<A> Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<A>, E> absentMapping, Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<T>, E> absentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.Produce a fullNotNull
.abstract <U> NotNull
<U> Produce a fullNotNull
.abstract <U> NotNull
<U> Produce aNotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function.NotNull.mapThrows
(Func0Throws<? extends T, E> absentMapping) Produce a fullNotNull
.NotNull.mapThrows
(Func0Throws<? extends U, E> absentMapping, Func1Throws<? super T, ? extends U, E> presentMapping) Produce a fullNotNull
.NotNull.mapThrows
(Func1Throws<? super T, ? extends U, E> presentMapping) Produce aNotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function.Maybe.notNull()
static <T> NotNull
<T> NotNull.of
(T valueOrNull) Returns aNotNull
containing the value.Returns this if this is full and predicate returns false.Returns this if this is full and predicate returns true.Method parameters in org.javimmutable.collections with type arguments of type NotNullModifier and TypeMethodDescriptionabstract <A> NotNull
<A> Produce aNotNull
based on this one.abstract <A> NotNull
<A> Produce aNotNull
based on this one.Produce aNotNull
based on this one.abstract <A> NotNull
<A> Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<A>, E> absentMapping, Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<A>, E> absentMapping, Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<T>, E> absentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one. -
Uses of NotNull in org.javimmutable.collections.serialization
Constructors in org.javimmutable.collections.serialization with parameters of type NotNull