V
- type of the object that will represent indexed variablepublic interface VariableIndexer<V>
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object variable)
Tests if given variable shall be indexed by this indexer
NOTE: only one indexer can be used for given variable
|
List<V> |
index(String name,
Object variable)
Performs index/transform operation of the variable.
|
boolean accept(Object variable)
variable
- variable to be indexedList<V> index(String name, Object variable)
name
- name of the variablevariable
- actual variable valueCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.