T
- type of input objectR
- type of return object.public interface Labeller<T,R> extends Targetted<R>
Transform
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(java.lang.Object o)
run-time type-check if this labeller can handle an object as input
|
R |
getLabel(AppContext conn,
T key)
generate the label.
|
R getLabel(AppContext conn, T key)
conn
- AppContextkey
- value to be labelledboolean accepts(java.lang.Object o)
o
-