public class CompactString extends Object implements CharSequence, Serializable, Comparable<CompactString>
| Modifier and Type | Field and Description |
|---|---|
static CompactString |
EMPTY |
| Constructor and Description |
|---|
CompactString(CharSequence other) |
CompactString(CompactString other) |
CompactString(ReplazableString str) |
CompactString(String other) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
compareTo(CompactString other) |
boolean |
equals(Object o) |
byte[] |
getData() |
CharSequence |
getDelayed() |
int |
hashCode() |
int |
indexOf(char ch) |
int |
lastIndexOf(char ch) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointspublic static final CompactString EMPTY
public CompactString(ReplazableString str)
public CompactString(CompactString other)
public CompactString(String other)
public CompactString(CharSequence other)
public byte[] getData()
public int indexOf(char ch)
public int lastIndexOf(char ch)
public char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class Objectpublic int compareTo(CompactString other)
compareTo in interface Comparable<CompactString>public CharSequence getDelayed()
Copyright © 2018 DataWeb Research. All rights reserved.