public class And extends BaseCriteria
Constructor and Description |
---|
And(Criteria lhs,
Criteria rhs)
Simple constructor for two criteria
|
Modifier and Type | Method and Description |
---|---|
Criteria |
and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
Criteria[] |
getCriterion()
Return criterion
|
not, or
public Criteria and(Criteria other)
BaseCriteria
and
in interface Criteria
and
in class BaseCriteria
public Criteria[] getCriterion()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value namesCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.