org.geotools.filter.function
Class RangedClassifier
Object
Classifier
RangedClassifier
public final class RangedClassifier
- extends Classifier
Classifies into ranges of minimum and maximum values.
- Author:
- Cory Horner, Refractions Research
RangedClassifier
public RangedClassifier(Comparable[] min,
Comparable[] max)
getSize
public int getSize()
- Specified by:
getSize
in class Classifier
- Returns:
- the number of bins
getMin
public Object getMin(int slot)
getMax
public Object getMax(int slot)
classify
public int classify(Object value)
- Description copied from class:
Classifier
- Returns the slot this value belongs in.
- Specified by:
classify
in class Classifier
- Returns:
- index, starting from zero
Copyright © 1996-2009 Geotools. All Rights Reserved.