
H - Parent class/interface for all handlerspublic final class HandlerList<H> extends Object
| Modifier and Type | Field and Description | 
|---|---|
private ArrayList<Pair<Class<?>,H>> | 
handlers
List with registered Handlers. 
 | 
| Constructor and Description | 
|---|
HandlerList()  | 
| Modifier and Type | Method and Description | 
|---|---|
H | 
getHandler(Object o)
Find a matching handler for the given object 
 | 
void | 
insertHandler(Class<?> restrictionClass,
             H handler)
Insert a handler to the beginning of the stack. 
 |