A
- the argument type.public final class NullaryPredicatePredicate<A> extends Object implements Predicate<A>
NullaryPredicate
to the
Predicate
interface
by ignoring the given argument.Constructor and Description |
---|
NullaryPredicatePredicate(NullaryPredicate predicate)
Create a new NullaryPredicatePredicate.
|
Modifier and Type | Method and Description |
---|---|
static <A> NullaryPredicatePredicate<A> |
adapt(NullaryPredicate predicate)
Adapt a NullaryPredicate to the Predicate interface.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
test(Object obj)
Evaluate this predicate.
|
String |
toString() |
public NullaryPredicatePredicate(NullaryPredicate predicate)
predicate
- to adaptpublic static <A> NullaryPredicatePredicate<A> adapt(NullaryPredicate predicate)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.