|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.filter.ArrayFilter.WeightedFilter
protected static class ArrayFilter.WeightedFilter
A thin wrapper around a Filter allowing for sorting the filters according to their effectiveness.
Constructor Summary | |
---|---|
protected |
ArrayFilter.WeightedFilter(Filter filter, int nEffect) Construct the WeightedFilter. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o) Compares this WeightedFilter with the specified WeightedFilter for order. |
int |
getEffectiveness() Get the effectiveness value of the wrapped filter. |
Filter |
getFilter() Get the wrapped filter. |
Constructor Detail |
---|
protected ArrayFilter.WeightedFilter(Filter filter, int nEffect)
filter
- the wrapped filternEffect
- the filter's effectivenessMethod Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the Object to be comparedjava.lang.ClassCastException
- if the specified object's type prevents it from being compared to this WeightedFilterpublic Filter getFilter()
public int getEffectiveness()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |