Modifier and Type | Field and Description |
---|---|
pack-priv final char[] | |
public static final AttributedString | |
pack-priv final int | |
public static final AttributedString | |
pack-priv final int | |
pack-priv final long[] |
Access | Constructor and Description |
---|---|
public | |
public | |
public | |
public | |
pack-priv |
Modifier and Type | Method and Description |
---|---|
private boolean | |
private boolean | |
protected char[] | |
public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
public static AttributedString | |
public static AttributedString | |
public static AttributedString | |
public int | |
public static AttributedString | |
public static AttributedString | |
public int | |
protected int | |
public static String | |
public AttributedStyle | |
pack-priv long | |
public AttributedString | |
public AttributedString | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements abstract jdk. Implements java. CharSequence that is a subsequence of this sequence.
|
buffer | back to summary |
---|---|
pack-priv final char[] buffer |
EMPTY | back to summary |
---|---|
public static final AttributedString EMPTY |
end | back to summary |
---|---|
pack-priv final int end |
NEWLINE | back to summary |
---|---|
public static final AttributedString NEWLINE |
start | back to summary |
---|---|
pack-priv final int start |
style | back to summary |
---|---|
pack-priv final long[] style |
AttributedString | back to summary |
---|---|
public AttributedString(CharSequence str) |
AttributedString | back to summary |
---|---|
public AttributedString(CharSequence str, int start, int end) |
AttributedString | back to summary |
---|---|
public AttributedString(CharSequence str, AttributedStyle s) |
AttributedString | back to summary |
---|---|
public AttributedString(CharSequence str, int start, int end, AttributedStyle s) |
AttributedString | back to summary |
---|---|
pack-priv AttributedString(char[] buffer, long[] style, int start, int end) |
arrEq | back to summary |
---|---|
private boolean arrEq(char[] a1, char[] a2, int s1, int s2, int l) |
arrEq | back to summary |
---|---|
private boolean arrEq(long[] a1, long[] a2, int s1, int s2, int l) |
buffer | back to summary |
---|---|
protected char[] buffer() Implements abstract jdk.
|
equals | back to summary |
---|---|
public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. |
fromAnsi | back to summary |
---|---|
public static AttributedString fromAnsi(String ansi) |
fromAnsi | back to summary |
---|---|
public static AttributedString fromAnsi(String ansi, int tabs) |
fromAnsi | back to summary |
---|---|
public static AttributedString fromAnsi(String ansi, List<Integer> tabs) |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
|
join | back to summary |
---|---|
public static AttributedString join(AttributedString delimiter, AttributedString... elements) |
join | back to summary |
---|---|
public static AttributedString join(AttributedString delimiter, Iterable<AttributedString> elements) |
length | back to summary |
---|---|
public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
|
offset | back to summary |
---|---|
protected int offset() Implements abstract jdk.
|
stripAnsi | back to summary |
---|---|
public static String stripAnsi(String ansi) |
styleAt | back to summary |
---|---|
public AttributedStyle styleAt(int index) Implements abstract jdk.
|
styleCodeAt | back to summary |
---|---|
pack-priv long styleCodeAt(int index) Overrides jdk.
|
styleMatches | back to summary |
---|---|
public AttributedString styleMatches(Pattern pattern, AttributedStyle style) |
subSequence | back to summary |
---|---|
public AttributedString subSequence(int start, int end) Implements abstract jdk. Implements java. Doc from java. Returns a
|