public abstract class FilterParamIndexNotEqualsBase extends FilterParamIndexLookupableBase
Modifier and Type | Field and Description |
---|---|
protected Map<Object,EventEvaluator> |
constantsMap |
protected ReadWriteLock |
constantsMapRWLock |
lookupable
Modifier | Constructor and Description |
---|---|
protected |
FilterParamIndexNotEqualsBase(FilterSpecLookupable lookupable,
ReadWriteLock readWriteLock,
FilterOperator filterOperator) |
Modifier and Type | Method and Description |
---|---|
EventEvaluator |
get(Object filterConstant)
Get the event evaluation instance associated with the constant.
|
ReadWriteLock |
getReadWriteLock()
Supplies the lock for protected access.
|
void |
put(Object filterConstant,
EventEvaluator evaluator)
Store the event evaluation instance for the given constant.
|
boolean |
remove(Object filterConstant)
Remove the event evaluation instance for the given constant.
|
int |
size()
Return the number of distinct filter parameter constants stored.
|
getLookupable, toString
getFilterOperator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
matchEvent
protected final Map<Object,EventEvaluator> constantsMap
protected final ReadWriteLock constantsMapRWLock
protected FilterParamIndexNotEqualsBase(FilterSpecLookupable lookupable, ReadWriteLock readWriteLock, FilterOperator filterOperator)
public final EventEvaluator get(Object filterConstant)
FilterParamIndexLookupableBase
get
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the event filter parameterpublic final void put(Object filterConstant, EventEvaluator evaluator)
FilterParamIndexLookupableBase
put
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the filter parameterevaluator
- to be stored for the constantpublic final boolean remove(Object filterConstant)
FilterParamIndexLookupableBase
remove
in class FilterParamIndexLookupableBase
filterConstant
- is the value supplied in the filter paremeterpublic final int size()
FilterParamIndexLookupableBase
size
in class FilterParamIndexLookupableBase
public final ReadWriteLock getReadWriteLock()
FilterParamIndexLookupableBase
getReadWriteLock
in class FilterParamIndexLookupableBase