com.croftsoft.core.util.state
Class StateListenerConsumer
java.lang.Object
com.croftsoft.core.util.state.StateListenerConsumer
- All Implemented Interfaces:
- Consumer
public class StateListenerConsumer
- extends Object
- implements Consumer
Adapts the StateListener interface to the Consumer interface.
- Version:
- 1998-12-05
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stateListener
protected StateListener stateListener
StateListenerConsumer
public StateListenerConsumer(StateListener stateListener)
consume
public void consume(Object o)
- Specified by:
consume
in interface Consumer
CroftSoft Core Javadoc (2008-09-28 20:58:02)