java.lang.Object
com.intellij.util.text.CharSequenceSubSequence
public class CharSequenceSubSequence
extends Object
implements CharSequence, CharArrayExternalizable, CharSequenceWithStringHash
-
构造器概要
构造器构造器说明CharSequenceSubSequence(@NotNull CharSequence chars) CharSequenceSubSequence(@NotNull CharSequence chars, int start, int end) -
方法概要
修饰符和类型方法说明final charcharAt(int index) voidgetChars(int start, int end, char @NotNull [] dest, int destPos) Copies own character sub-sequence to the given arrayinthashCode()final intlength()@NotNull CharSequencesubSequence(int start, int end) @NotNull StringtoString()从接口继承的方法 java.lang.CharSequence
chars, codePoints, isEmpty
-
构造器详细资料
-
CharSequenceSubSequence
-
CharSequenceSubSequence
-
-
方法详细资料
-
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 void getChars(int start, int end, char @NotNull [] dest, int destPos) 从接口复制的说明:CharArrayExternalizableCopies own character sub-sequence to the given array- 指定者:
getChars在接口中CharArrayExternalizable- 参数:
start- the index where to start taking chars from in this sequenceend- the index where to end taking chars in this sequencedest- the array to put characters intodestPos- the index where to put the characters in the dest array
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中CharSequenceWithStringHash- 覆盖:
hashCode在类中Object
-