net.sf.ehcache.search.expression
Class Not
java.lang.Object
   net.sf.ehcache.search.expression.BaseCriteria
net.sf.ehcache.search.expression.BaseCriteria
       net.sf.ehcache.search.expression.Not
net.sf.ehcache.search.expression.Not
- All Implemented Interfaces: 
- Criteria
- public class Not 
- extends BaseCriteria
A search criteria composed of the logical "not" (ie. negation) of another criteria
- Author:
- teck
| Constructor Summary | 
| Not(Criteria c)Construct a "not" criteria of the given criteria
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Not
public Not(Criteria c)
- Construct a "not" criteria of the given criteria
 
- Parameters:
- c- the criteria to "not"
 
getCriteria
public Criteria getCriteria()
- 
- Returns:
- criteria
 
execute
public boolean execute(Element e,
                       Map<String,AttributeExtractor> attributeExtractors)
- Test this criteria against a cache element
 
- 
- Parameters:
- e- cache element
- attributeExtractors- map of attribute extractors to attribute value names
- Returns:
- true if the criteria matches this element
 
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.