java.lang.Object
com.intellij.util.text.CharArrayCharSequence
public class CharArrayCharSequence
extends Object
implements CharSequenceBackedByArray, CharSequenceWithStringHash
-
字段概要
字段 -
构造器概要
构造器构造器说明CharArrayCharSequence(char @NotNull ... chars) CharArrayCharSequence(char @NotNull [] chars, int start, int end) -
方法概要
修饰符和类型方法说明final charcharAt(int index) booleanchar @NotNull []getChars()voidgetChars(char @NotNull [] dst, int dstOffset) inthashCode()final intlength()intreadCharsTo(int start, char[] cbuf, int off, int len) @NotNull CharSequencesubSequence(int start, int end) @NotNull StringtoString()从接口继承的方法 java.lang.CharSequence
chars, codePoints, isEmpty
-
字段详细资料
-
myChars
protected final char[] myChars -
myStart
protected final int myStart -
myEnd
protected final int myEnd
-
-
构造器详细资料
-
CharArrayCharSequence
public CharArrayCharSequence(char @NotNull ... chars) -
CharArrayCharSequence
public CharArrayCharSequence(char @NotNull [] chars, int start, int end)
-
-
方法详细资料
-
length
public final int length()- 指定者:
length在接口中CharSequence
-
charAt
public final char charAt(int index) - 指定者:
charAt在接口中CharSequence
-
subSequence
- 指定者:
subSequence在接口中CharSequence
-
toString
- 指定者:
toString在接口中CharSequence- 覆盖:
toString在类中Object
-
getChars
public char @NotNull [] getChars()- 指定者:
getChars在接口中CharSequenceBackedByArray
-
getChars
public void getChars(char @NotNull [] dst, int dstOffset) - 指定者:
getChars在接口中CharSequenceBackedByArray
-
equals
-
readCharsTo
public int readCharsTo(int start, char[] cbuf, int off, int len) -
hashCode
public int hashCode()- 指定者:
hashCode在接口中CharSequenceWithStringHash- 覆盖:
hashCode在类中Object
-