|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectus.zuercher.gpx2map.plotter.AbstractShapePixelRowIterator
public class AbstractShapePixelRowIterator
AbstractShapePixelRowIterator wraps an Iterator
with Z-ordering information for the pixels.
>
| Field Summary | |
|---|---|
private Iterator<List<Pixel>> |
iterator
Wrapped iterator. |
private int |
zOrdering
Z-ordering for the pixels. |
| Constructor Summary | |
|---|---|
AbstractShapePixelRowIterator(Iterator<List<Pixel>> iterator,
int zOrdering)
Constructs a new AbstractShapePixelRowIterator that wraps the given iterator and z-ordering. |
|
| Method Summary | |
|---|---|
int |
getZOrdering()
Returns the Z-ordering value for this row. |
boolean |
hasNext()
Returns true if the underlying pixel row iterator
has more pixel rows. |
List<Pixel> |
next()
Returns the next row of pixels. |
void |
remove()
Removes the current of pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Iterator<List<Pixel>> iterator
private final int zOrdering
| Constructor Detail |
|---|
AbstractShapePixelRowIterator(Iterator<List<Pixel>> iterator,
int zOrdering)
iterator - iterator of pixel rowszOrdering - z-ordering of pixels| Method Detail |
|---|
public boolean hasNext()
pixel row iterator
has more pixel rows.
hasNext in interface Iterator<List<Pixel>>pixel row iterator
has more pixel rows.Iterator.hasNext()public List<Pixel> next()
next in interface Iterator<List<Pixel>>Iterator.next()public void remove()
remove in interface Iterator<List<Pixel>>Iterator.remove()public int getZOrdering()
AbstractShape.getZOrdering()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||