|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NullSafe | |
|---|---|
| net.sf.staccatocommons.defs.function | |
| net.sf.staccatocommons.defs.partial | |
| net.sf.staccatocommons.defs.predicate | |
| Uses of NullSafe in net.sf.staccatocommons.defs.function |
|---|
| Methods in net.sf.staccatocommons.defs.function with annotations of type NullSafe | |
|---|---|
Function<A,B> |
Function.nullSafe()
Answers a new function that returns null if is argument is null, or the result of applying this function, otherwise. |
Function2<A,B,C> |
Function2.nullSafe()
Answers a new function that returns null if any of its arguments is null, or the result of applying this function, otherwise. |
Function3<A,B,C,D> |
Function3.nullSafe()
Answers a new function that returns null if any of its arguments is null, or the result of applying this function, otherwise. |
| Uses of NullSafe in net.sf.staccatocommons.defs.partial |
|---|
| Methods in net.sf.staccatocommons.defs.partial with annotations of type NullSafe | |
|---|---|
A |
NullSafeAware.nullSafe()
Answers a new Applicative of type A that accepts nulls for
its applicative method, that is, it will not throw any exception if any of
its arguments is null. |
| Uses of NullSafe in net.sf.staccatocommons.defs.predicate |
|---|
| Methods in net.sf.staccatocommons.defs.predicate with annotations of type NullSafe | |
|---|---|
Predicate<A> |
Predicate.andNotNull()
Returns a null-safe predicate that, when evaluated, answers false if its argument is null, or evaluates this predicate,
otherwise. |
Predicate2<A,B> |
Predicate2.nullSafe()
Answers a Predicate2 that returns true if both
arguments are null, false if only one of them is
null, or evalutes this predicate, otherwise. |
Predicate<A> |
Predicate.orNull()
Returns a null-safe predicate that, when evaluated, answers true if its argument is null, or evaluates this predicate,
otherwise. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||