001 package com.croftsoft.core.util.consumer;
002
003 /***********************************************************************
004 * A callback object that "consumes" the callback argument.
005 *
006 * @version
007 * $Id: Consumer.java,v 1.1 2008/09/20 05:01:27 croft Exp $
008 * @since
009 * 1998-11-23
010 * @author
011 * <a href="http://www.CroftSoft.com/">David Wallace Croft</a>
012 ***********************************************************************/
013
014 public interface Consumer<O>
015 ////////////////////////////////////////////////////////////////////////
016 ////////////////////////////////////////////////////////////////////////
017 {
018
019 void consume ( O o );
020
021 ////////////////////////////////////////////////////////////////////////
022 ////////////////////////////////////////////////////////////////////////
023 }