Modifier and Type | Field and Description |
---|---|
static IsNull<Object> |
INSTANCE
Basic IsNull instance.
|
static BinaryPredicate<Object,Object> |
LEFT
Left-handed BinaryPredicate.
|
static BinaryPredicate<Object,Object> |
RIGHT
Right-handed BinaryPredicate.
|
Constructor and Description |
---|
IsNull()
Create a new IsNull.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
int |
hashCode() |
static <T> IsNull<T> |
instance()
Get an IsNull instance.
|
static <A> BinaryPredicate<A,Object> |
left()
Get a BinaryPredicate that matches if the left argument is null.
|
static <A> BinaryPredicate<Object,A> |
right()
Get a BinaryPredicate that matches if the right argument is null.
|
boolean |
test(A obj)
Evaluate this predicate.
|
String |
toString() |
public static final BinaryPredicate<Object,Object> LEFT
public static final BinaryPredicate<Object,Object> RIGHT
public IsNull()
public static <T> IsNull<T> instance()
T
- the predicate argument type.public static <A> BinaryPredicate<A,Object> left()
A
- the left BinaryPredicate
argument type.public static <A> BinaryPredicate<Object,A> right()
A
- the right BinaryPredicate
argument type.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.