com.croftsoft.core.util.state
Class StateListenerConsumer

java.lang.Object
  extended by 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

Field Summary
protected  StateListener stateListener
           
 
Constructor Summary
StateListenerConsumer(StateListener stateListener)
           
 
Method Summary
 void consume(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stateListener

protected StateListener stateListener
Constructor Detail

StateListenerConsumer

public StateListenerConsumer(StateListener stateListener)
Method Detail

consume

public void consume(Object o)
Specified by:
consume in interface Consumer

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)