step
Class FieldIterator

java.lang.Object
  |
  +--step.FieldIterator
All Implemented Interfaces:
Iterator

public class FieldIterator
extends Object
implements Iterator

Obtain serial access to the fields of a record.

See Also:
StepRecord.fieldIterator()

Constructor Summary
FieldIterator(StepObject[] fields)
          Create a field iterator from a set of field data.
 
Method Summary
 boolean hasNext()
          Are there more fields to access?
 Object next()
          Get the next field.
 void remove()
          Unsupported operation: can't remove fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldIterator

public FieldIterator(StepObject[] fields)
Create a field iterator from a set of field data.

Method Detail

hasNext

public boolean hasNext()
Are there more fields to access?

Specified by:
hasNext in interface Iterator

next

public Object next()
Get the next field.

Specified by:
next in interface Iterator
Throws:
NoSuchElementException - if there are no more fields.

remove

public void remove()
Unsupported operation: can't remove fields.

Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException - always.