org.iqual.chaplin.msg
Class LastWinsMessageReplies<T>

java.lang.Object
  extended by org.iqual.chaplin.msg.LastWinsMessageReplies<T>
All Implemented Interfaces:
Iterable, MessageReplies

public class LastWinsMessageReplies<T>
extends Object
implements MessageReplies

This class keeps only the last reply.

Since:
Jun 4, 2009 11:11:48 PM
Author:
Zbynek Slajchrt

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

Constructor Detail

LastWinsMessageReplies

public LastWinsMessageReplies()
Method Detail

addReply

public void addReply(Object rep)
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

getReply

public T getReply()

iterator

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


Copyright © 2009 iquality.org. All Rights Reserved.