f00f.net.irc.martyr.util
Class ParameterIterator

java.lang.Object
  |
  +--f00f.net.irc.martyr.util.ParameterIterator
All Implemented Interfaces:
java.util.Iterator

public class ParameterIterator
extends java.lang.Object
implements java.util.Iterator

This class iterates over the parameter string of an IRC command, returning each parameter in order as next() is called.


Constructor Summary
ParameterIterator(java.lang.String paramStr)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterIterator

public ParameterIterator(java.lang.String paramStr)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Returns:
true if there are more parameters, and false otherwise.

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator


Copyright © 2000,2001,2002,2003 f00f networks.