Constructor and Description |
---|
AbstractResourcePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object o)
Use the specified parameter to perform a test that returns true or false.
|
abstract boolean |
evaluate(Resource res)
Evaluates this predicate on the given Resource.
|
public boolean evaluate(java.lang.Object o)
evaluate
in interface Predicate
o
- the object to evaluate, should not be changedtrue
if o is a Resource the subsequent call to evaluate(Resource)
returns true
; false
otherwise.public abstract boolean evaluate(Resource res)
res
- given resourcetrue
if this resource satisfies this predicateCopyright © 2010 - 2020 Adobe. All Rights Reserved