/**@class java.lang.CharSequence This interface represents an ordered set of characters and defines the methods to probe them. */ var CharSequence = { /**Returns the number of characters in this sequence. @return {Number} the number of characters. */ length : function( ) {}, /**Returns the character at {@code index}. @throws IndexOutOfBoundsException if {@code index < 0} or {@code index >= length()}. */ charAt : function( ) {}, /**Returns a {@code CharSequence} from the {@code start} index (inclusive) to the {@code end} index (exclusive) of this sequence. @param {Number} 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. @param {Number} 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 @return {Object {java.lang.CharSequence}} the requested sub-sequence. @throws IndexOutOfBoundsException if {@code start < 0}, {@code end < 0}, {@code start > end}, or if {@code start} or {@code end} are greater than the length of this sequence. */ subSequence : function( ) {}, /**Returns a string with the same characters in the same order as in this sequence. @return {String} a string based on this sequence. */ toString : function( ) {}, };