| Modifier and Type | Method and Description |
|---|---|
Map<K,Number> |
getSample()
Gets a value from the first band of each image in this set
and returns them as a
Map of key : value pairs. |
Map<K,Number> |
getSample(int band)
Gets a value from the specified band of each image in this set
and returns them as a
Map of key : value pairs. |
boolean |
hasNext()
Tests if the iterator has any more positions to sample.
|
boolean |
next()
Advances the iterator to the next position if possible.
|
public Map<K,Number> getSample()
Map of key : value pairs.public Map<K,Number> getSample(int band)
Map of key : value pairs.band - the image band to samplepublic boolean hasNext()
true if more samples are available;
false otherwisepublic boolean next()
true if the iterator was moved;
false if it is at the end of its boundsCopyright © 2009–2020. All rights reserved.