|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The ByteSequence interface is used by the diff engine. The intention is that a file be broken down into "lines" which are exposed as a ByteSequence. The interface is quite simple, it need only support the ability to determine the length of the sequence and the ability to get a byte at a specific location (0 based). In this respect is very similar to a byte array.
| Method Summary | |
char |
charAt(int n)
Returns the char located at the nth position (zero-based). |
int |
length()
Returns the length of the sequence. |
| Method Detail |
public char charAt(int n)
public int length()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||