com.croftsoft.core.util.mail
Class MailImp<Message>
java.lang.Object
com.croftsoft.core.util.mail.MailImp<Message>
- All Implemented Interfaces:
- Mail<Message>, Seq<Message>, Slot<Message>
public final class MailImp<Message>
- extends Object
- implements Mail<Message>
A Mail implementation backed by a Seq and a Slot.
- Since:
- 2008-01-27
- Version:
- $Id: MailImp.java,v 1.3 2008/09/20 05:01:27 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailImp
public MailImp(Seq<Message> incomingSeq,
Slot<Message> outgoingSlot)
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>
CroftSoft Core Javadoc (2008-09-28 20:58:02)