public abstract class Classifier extends Object
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
int |
classify(Expression expr,
Object feature)
Returns the slot containing the passed expression's value.
|
abstract int |
classify(Object value)
Returns the slot this value belongs in.
|
abstract int |
getSize() |
String |
getTitle(int slot) |
String[] |
getTitles() |
void |
setTitle(int slot,
String title) |
void |
setTitles(String[] titles) |
public String[] getTitles()
public void setTitles(String[] titles)
public void setTitle(int slot, String title)
public String getTitle(int slot)
public int classify(Expression expr, Object feature)
public abstract int classify(Object value)
value
- public abstract int getSize()
Copyright © 1996–2019 Geotools. All rights reserved.