|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataAccessor
This interface represents a stream and provides methods to interrogate the stream's contents.
| Method Summary | |
|---|---|
int |
get(int i)
Get the value of a tile |
int |
getAdjusted(int i)
Get the value of a tile, adjusted according to the stream's presentation style. |
int |
getAdjustedMax()
Get the maximum value of a tile in this stream, adjusted according to the stream's presentation style. |
int |
getLength()
Get the length of the stream |
boolean |
isDataAvailable()
Is data available? |
boolean |
isOverflow(int i)
Is the value of a tile greater than the maximum for this stream? |
boolean |
isZero(int i)
Is the value of a tile zero? |
| Method Detail |
|---|
int get(int i)
i - The index of the tile
int getAdjusted(int i)
i - The index of the tile
int getAdjustedMax()
boolean isZero(int i)
i - The index of the tile
boolean isOverflow(int i)
i - The index of the tile
boolean isDataAvailable()
int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||