public abstract class FilterParamIndexStringRangeBase extends FilterParamIndexLookupableBase
Modifier and Type | Field and Description |
---|---|
protected TreeMap<StringRange,EventEvaluator> |
ranges |
lookupable
Modifier | Constructor and Description |
---|---|
protected |
FilterParamIndexStringRangeBase(FilterSpecLookupable lookupable,
ReadWriteLock readWriteLock,
FilterOperator filterOperator) |
Modifier and Type | Method and Description |
---|---|
EventEvaluator |
get(Object expressionValue)
Get the event evaluation instance associated with the constant.
|
ReadWriteLock |
getReadWriteLock()
Supplies the lock for protected access.
|
boolean |
isEmpty()
Return empty indicator.
|
void |
put(Object expressionValue,
EventEvaluator matcher)
Store the event evaluation instance for the given constant.
|
void |
remove(Object filterConstant)
Remove the event evaluation instance for the given constant.
|
int |
sizeExpensive()
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 TreeMap<StringRange,EventEvaluator> ranges
protected FilterParamIndexStringRangeBase(FilterSpecLookupable lookupable, ReadWriteLock readWriteLock, FilterOperator filterOperator)
public final EventEvaluator get(Object expressionValue)
FilterParamIndexLookupableBase
get
in class FilterParamIndexLookupableBase
expressionValue
- is the constant supplied in the event filter parameterpublic final void put(Object expressionValue, EventEvaluator matcher)
FilterParamIndexLookupableBase
put
in class FilterParamIndexLookupableBase
expressionValue
- is the constant supplied in the filter parametermatcher
- to be stored for the constantpublic final void remove(Object filterConstant)
FilterParamIndexLookupableBase
remove
in class FilterParamIndexLookupableBase
filterConstant
- is the value supplied in the filter paremeterpublic final int sizeExpensive()
FilterParamIndexLookupableBase
sizeExpensive
in class FilterParamIndexLookupableBase
public boolean isEmpty()
FilterParamIndexBase
isEmpty
in class FilterParamIndexBase
public final ReadWriteLock getReadWriteLock()
FilterParamIndexLookupableBase
getReadWriteLock
in class FilterParamIndexLookupableBase