public abstract class CoreCharSequence extends Object implements CharSequence
CharSequence interface.| Modifier and Type | Field and Description |
|---|---|
private int |
cachedHash
the hash of this sequence or
0 if not cached |
| Constructor and Description |
|---|
CoreCharSequence()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
contentChanged()
This method must be called whenever the char sequence changed its length or data.
|
boolean |
equals(Object other)
This implementation is to be discussed, because it can violate the contract of the equals method as defined by
Object. |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcharAt, chars, codePoints, length, subSequencepublic boolean equals(Object other)
Object.protected void contentChanged()
public String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 2001–2016 mmm-Team. All rights reserved.