com.croftsoft.core.util.mail
Class FlipMail<Message>
java.lang.Object
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
https://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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlipMail
public FlipMail()
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 Core Javadoc (2008-09-28 20:58:02)