org.iqual.chaplin.msg
Class MessageRepliesImpl

java.lang.Object
  extended by org.iqual.chaplin.msg.MessageRepliesImpl
All Implemented Interfaces:
Iterable, MessageReplies

public class MessageRepliesImpl
extends Object
implements MessageReplies

Default implementation which uses a list.

Since:
Jun 4, 2009 10:39:51 PM
Author:
Zbynek Slajchrt

Constructor Summary
MessageRepliesImpl()
           
 
Method Summary
 void addReply(Object reply)
           
 List getReplies()
           
 long getReplyCount()
           
 Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageRepliesImpl

public MessageRepliesImpl()
Method Detail

addReply

public void addReply(Object reply)
Specified by:
addReply in interface MessageReplies

getReplies

public List getReplies()
Specified by:
getReplies in interface MessageReplies

getReplyCount

public long getReplyCount()
Specified by:
getReplyCount in interface MessageReplies

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable


Copyright © 2009 iquality.org. All Rights Reserved.