net.sf.bloof.db
Class StringIterator

java.lang.Object
  |
  +--net.sf.bloof.db.StringIterator

public class StringIterator
extends java.lang.Object

Interates on a ResultList of Strings

Version:
$Id: StringIterator.java,v 1.4 2003/06/28 06:51:42 pekacki Exp $
Author:
Lukasz Pekacki

Constructor Summary
StringIterator(java.util.ArrayList aStringList)
          Constructs a StringIterator for a list of Strings
StringIterator(java.sql.ResultSet aResultSet)
          Constructs a StringIterator on a ResultSet PRE: aResultSet.getString( 1 ) must return valid String objects
 
Method Summary
 boolean hasNext()
           
 java.lang.String next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringIterator

public StringIterator(java.util.ArrayList aStringList)
Constructs a StringIterator for a list of Strings

Parameters:
aStringList - list of Strings

StringIterator

public StringIterator(java.sql.ResultSet aResultSet)
Constructs a StringIterator on a ResultSet PRE: aResultSet.getString( 1 ) must return valid String objects

Parameters:
aResultSet - the ResultSet
Method Detail

hasNext

public boolean hasNext()
See Also:
Iterator.hasNext( )

next

public java.lang.String next()
See Also:
Iterator.next( )


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.