edu.jhu.htm.core
Class HTMrangeIterator
java.lang.Object
|
+--edu.jhu.htm.core.HTMrangeIterator
- All Implemented Interfaces:
- java.util.Iterator
- public class HTMrangeIterator
- extends java.lang.Object
- implements java.util.Iterator
Simple iterator to return all IDs from a htm Range.
Be warned this uses the badly implemented Iterator of HTMrange
and calls reset when you start it up.
Current Version
===============
ID: $Id: HTMrangeIterator.java,v 1.3 2003/02/19 16:49:46 womullan Exp $
Revision: $Revision: 1.3 $
Date/time: $Date: 2003/02/19 16:49:46 $
- Version:
- $Revision: 1.3 $
- Author:
- wil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
range
protected HTMrange range
symbolic
protected boolean symbolic
next
protected java.lang.Object next
currange
protected long[] currange
nextval
protected long nextval
HTMrangeIterator
public HTMrangeIterator(HTMrange range,
boolean symbolic)
throws HTMException
getNext
protected void getNext()
throws HTMException
HTMException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
nextAsString
public java.lang.String nextAsString()
nextAsLong
public java.lang.Long nextAsLong()
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator