T - The type of addressed elementspublic interface JPRACursor2DType<T> extends JPRACursorByteReadableType, JPRACursorType<T>
T.| Modifier and Type | Method and Description |
|---|---|
int |
getElementX() |
int |
getElementY() |
void |
setElementPosition(int x,
int y)
Point the cursor at element
(x, y) of the array. |
getByteOffsetObservablegetElementViewint getElementX()
x positionint getElementY()
y positionvoid setElementPosition(int x,
int y)
throws IndexOutOfBoundsException
Point the cursor at element (x, y) of the array.
Implementations are permitted to perform bounds checking, and must throw
IndexOutOfBoundsException on out-of-bounds indices.
x - The x (horizontal, columns) positiony - The y (vertical, rows) positionIndexOutOfBoundsException - Iff the implementation performs bounds
checking and the element is out of rangeCopyright © 2015 <code@io7m.com> http://io7m.com