protected static class ArrayFilter.WeightedFilter extends Object implements Comparable
| Modifier | Constructor and Description |
|---|---|
protected |
WeightedFilter(Filter filter,
int nEffect)
Construct the WeightedFilter.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares this WeightedFilter with the specified WeightedFilter for
order.
|
Filter |
getFilter()
Get the wrapped filter.
|
protected WeightedFilter(Filter filter, int nEffect)
filter - the wrapped filternEffect - the filter's effectivenesspublic int compareTo(Object o)
compareTo in interface Comparableo - the Object to be comparedClassCastException - if the specified object's type prevents
it from being compared to this WeightedFilterpublic Filter getFilter()