public abstract class AbstractPredicate<Q> extends Object implements Predicate<Q>
Predicate.Type| Constructor and Description |
|---|
AbstractPredicate(Predicate.Type type) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Predicate<?>> |
as(Class<T> type)
Narrows the type of this predicate down to the given type.
|
Predicate.Type |
getType()
Returns the type of this predicate.
|
public AbstractPredicate(Predicate.Type type)
public Predicate.Type getType()
Predicatepublic <T extends Predicate<?>> T as(Class<T> type)
PredicatePredicate.getType().Copyright © 2014. All rights reserved.