net.sf.ehcache.search.expression
Class NotEqualTo
java.lang.Object
net.sf.ehcache.search.expression.BaseCriteria
net.sf.ehcache.search.expression.EqualTo
net.sf.ehcache.search.expression.NotEqualTo
- All Implemented Interfaces:
- Criteria
public class NotEqualTo
- extends EqualTo
Criteria for plain "not equals to" condition
- Author:
- teck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotEqualTo
public NotEqualTo(String attributeName,
Object value)
- Constructor
- Parameters:
attributeName
- attribute namevalue
-
execute
public boolean execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
- Test this criteria against a cache element
- Specified by:
execute
in interface Criteria
- Overrides:
execute
in class EqualTo
- Parameters:
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names
- Returns:
- true if the criteria matches this element
Copyright 2001-2014, Terracotta, Inc.