com.croftsoft.core.util.mail
Class FlipMail<Message>

java.lang.Object
  extended by com.croftsoft.core.util.mail.FlipMail<Message>
All Implemented Interfaces:
Updatable, Mail<Message>, Seq<Message>, Slot<Message>

public final class FlipMail<Message>
extends Object
implements Mail<Message>, Updatable

Replaces incoming messages with outgoing messages when updated. For documentation on interface Mail and class FlipMail, please see the tutorial "Interface Mail" at http://www.CroftSoft.com/library/tutorials/mail/

Since:
2008-01-27
Version:
$Id: FlipMail.java,v 1.2 2008/01/28 03:40:39 croft Exp $
Author:
David Wallace Croft

Constructor Summary
FlipMail()
           
 
Method Summary
 Message get(int index)
           
 boolean offer(Message message)
           
 int size()
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlipMail

public FlipMail()
Method Detail

get

public Message get(int index)
Specified by:
get in interface Seq<Message>

size

public int size()
Specified by:
size in interface Seq<Message>

offer

public boolean offer(Message message)
Specified by:
offer in interface Slot<Message>

update

public void update()
Specified by:
update in interface Updatable

CroftSoft Javadoc

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