com.croftsoft.core.util.consumer
Class NullConsumer

java.lang.Object
  extended by com.croftsoft.core.util.consumer.NullConsumer
All Implemented Interfaces:
Consumer

public final class NullConsumer
extends Object
implements Consumer

A singleton null object implementation of a Consumer.

Since:
2003-06-10
Version:
$Id: NullConsumer.java,v 1.3 2008/09/20 05:01:27 croft Exp $
Author:
David Wallace Croft

Field Summary
static NullConsumer INSTANCE
          singleton instance
 
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

INSTANCE

public static final NullConsumer INSTANCE
singleton instance

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)