|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.diff.SharedCharSequence
An implementation of the ByteSequence interface that uses an underlying byte array along with an offset and length parameter.
| Constructor Summary | |
SharedCharSequence(CharSequence data,
int start,
int length)
Create a new sequence using the underlying data. |
|
| Method Summary | |
char |
charAt(int n)
Returns the char located at the nth position (zero-based). |
int |
length()
Returns the length of the sequence. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SharedCharSequence(CharSequence data,
int start,
int length)
| Method Detail |
public char charAt(int n)
CharSequence
charAt in interface CharSequencepublic int length()
CharSequence
length in interface CharSequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||