-
Invokes absentAction if this is empty.
Invokes presentAction with this value if this is full.
Invokes absentAction if this is empty.
Invokes presentAction with this value if this is full.
Determine if the object is an instance of the specified Class or a subclass.
Returns a
NotNull
containing the first value of the collection.
Returns a
NotNull
containing the first value of the collection
for which the predicate returns true.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
NotNull.map(Func0<? extends T> absentMapping)
NotNull.map(Func0<? extends U> absentMapping,
Func1<? super T,? extends U> presentMapping)
NotNull.map(Func1<? super T,? extends U> presentMapping)
Produce a
NotNull
that is empty if this is empty or else contains the result
of passing this value to the given mapping function.
Produce a
NotNull
that is empty if this is empty or else contains the result
of passing this value to the given mapping function.
If this empty or has a null value returns
empty()
, otherwise returns
a
NotNull
containing the same value as this.
NotNull.of(T valueOrNull)
Returns a
NotNull
containing the value.
NotNull.reject(java.util.function.Predicate<? super T> predicate)
Returns this if this is full and predicate returns false.
NotNull.select(java.util.function.Predicate<? super T> predicate)
Returns this if this is full and predicate returns true.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
Produce a
NotNull
based on this one.
-