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