public final class ExplicitClassifier extends Classifier
Constructor and Description |
---|
ExplicitClassifier(Set... values) |
Modifier and Type | Method and Description |
---|---|
int |
classify(Object value)
Returns the slot this value belongs in.
|
int |
getSize() |
Set |
getValues(int index)
Returns all the unique values for a particular slot.
|
classify, getPercentages, getTitle, getTitles, setPercentages, setTitle, setTitles
public ExplicitClassifier(Set... values)
public int getSize()
getSize
in class Classifier
public Set getValues(int index)
public int classify(Object value)
Classifier
classify
in class Classifier
Copyright © 1996–2023 Geotools. All rights reserved.