Class AgentMsgHelpers.MsgFilter<T extends IMsg>

java.lang.Object
  extended by AgentMsgHelpers.MsgFilter<T>
All Implemented Interfaces:
java.util.Iterator<T>
Enclosing class:
AgentMsgHelpers

public static class AgentMsgHelpers.MsgFilter<T extends IMsg>
extends java.lang.Object
implements java.util.Iterator<T>


Constructor Summary
AgentMsgHelpers.MsgFilter(IFuncObj<T,java.lang.Boolean> filter, java.util.Collection<T> msgBag)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
          unimplemented
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentMsgHelpers.MsgFilter

public AgentMsgHelpers.MsgFilter(IFuncObj<T,java.lang.Boolean> filter,
                                 java.util.Collection<T> msgBag)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T extends IMsg>

next

public T next()
Specified by:
next in interface java.util.Iterator<T extends IMsg>

remove

public void remove()
unimplemented

Specified by:
remove in interface java.util.Iterator<T extends IMsg>