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()
Predicate
public <T extends Predicate<?>> T as(Class<T> type)
Predicate
Predicate.getType()
.Copyright © 2013. All rights reserved.