|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 effectiveness| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - 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® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||