H
- Parent class/interface for all handlerspublic final class HandlerList<H>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Pair<java.lang.Class<?>,H>> |
handlers
List with registered Handlers.
|
Constructor and Description |
---|
HandlerList() |
Modifier and Type | Method and Description |
---|---|
H |
getHandler(java.lang.Object o)
Find a matching handler for the given object
|
void |
insertHandler(java.lang.Class<?> restrictionClass,
H handler)
Insert a handler to the beginning of the stack.
|
public void insertHandler(java.lang.Class<?> restrictionClass, H handler)
restrictionClass
- restriction classhandler
- handlerpublic H getHandler(java.lang.Object o)
o
- object to find handler forCopyright © 2019 ELKI Development Team. License information.