|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.diff.SharedCharSequence
public final class 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 character at the index |
int |
getLength()
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)
data - the char sequencestart - the start positionlength - the length of the sequence| Method Detail |
|---|
public char charAt(int n)
charAt in interface CharSequencen - the index
public int getLength()
getLength in interface CharSequence
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||