public interface IImageLineSet<T extends IImageLine>
IImageLine elements.
This is actually a "virtual" set, it can be implemented in several ways; for example
PngReader.readRows() method.
| Modifier and Type | Method and Description |
|---|---|
T |
getImageLine(int n)
Asks for imageline corresponding to row n in the original image
(zero based).
|
boolean |
hasImageLine(int n)
Returns true if the set contain row n (in the original
image,zero based) currently allocated.
|
int |
size()
Internal size of allocated rows This is informational, it should rarely
be important for the caller.
|
T getImageLine(int n)
Throws exception if not available. The caller is supposed to know what he/she is doing
boolean hasImageLine(int n)
If it's a single-cursor, this should return true only if it's positioned there. (notice that hasImageLine(n) can return false, but getImageLine(n) can be ok)
int size()
Copyright © 2013. All rights reserved.