|
DthingApi
|
Public Member Functions | |
| int | length () |
| char | charAt (int index) |
| CharSequence | subSequence (int start, int end) |
| String | toString () |
This interface represents an ordered set of characters and defines the methods to probe them.
| char java.lang.CharSequence.charAt | ( | int | index | ) |
Returns the character at the specified index, with the first character having index zero.
| index | the index of the character to return. |
| IndexOutOfBoundsException | if index < 0 index |
Implemented in java.lang.String.
| int java.lang.CharSequence.length | ( | ) |
Returns the number of characters in this sequence.
Implemented in java.lang.String.
| CharSequence java.lang.CharSequence.subSequence | ( | int | start, |
| int | end | ||
| ) |
Returns a
from the
index (inclusive) to the
index (exclusive) of this sequence.
| start | the start offset of the sub-sequence. It is inclusive, that is, the index of the first character that is included in the sub-sequence. |
| end | the end offset of the sub-sequence. It is exclusive, that is, the index of the first character after those that are included in the sub-sequence |
| IndexOutOfBoundsException | if start < 0 end < 0 start > end start end |
Implemented in java.lang.String.
| String java.lang.CharSequence.toString | ( | ) |
Returns a string with the same characters in the same order as in this sequence.
Implemented in java.lang.String.
1.8.13