Package com.illumon.iris.controller
Class ControllerHashtableChangeListener.Adapter
java.lang.Object
com.illumon.iris.controller.ControllerHashtableChangeListener.Adapter
- All Implemented Interfaces:
ControllerHashtableEventHandler
- Direct Known Subclasses:
ControllerHashtableChangeListener.SimpleAdapter
,ControllerHashtableChangeListener.WeakReferenceAdapter
- Enclosing interface:
- ControllerHashtableChangeListener
public abstract static class ControllerHashtableChangeListener.Adapter extends Object implements ControllerHashtableEventHandler
Eliminates some of the boilerplate code in handling ControllerHashtable events.
- Assumes that null old values imply added keys.
- Calling code should maintain a reference to the Adapter, not listener, if it ever wants to remove the event handler.
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
Modifier and Type Method Description protected abstract ControllerHashtableChangeListener
getListener()
void
handleEvent(ControllerHashtableEvent ev)
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
getListener
-
handleEvent
- Specified by:
handleEvent
in interfaceControllerHashtableEventHandler
-