public interface DataLocationIterator extends java.util.Iterator<DataLocation>, ResettableIterator
DataLocationIterator
class adds an extra interface
method to return the next data location. This helps to save
allocating space for a new DataLocation
object every
time the next location is needed.Modifier and Type | Method and Description |
---|---|
DataLocation |
nextLocation(DataLocation loc)
Gets the next data location.
|
reset
DataLocation nextLocation(DataLocation loc)
loc
- the location to fill in with coordinates, or null to
allocate a new location.