|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.core.UnicodeChar
org.extex.core.ComposedUnicodeChar
public class ComposedUnicodeChar
This class provides a Unicode character with some combing characters attached to it.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Fields inherited from class org.extex.core.UnicodeChar |
|---|
BREAK_PERMITTED_HERE, MAX_VALUE, MIN_VALUE, NEXT_LINE, NO_BREAK_HERE, NO_BREAK_SPACE, SHY, SPACE |
| Constructor Summary | |
|---|---|
protected |
ComposedUnicodeChar(int codePoint)
Creates a new object from an integer code point and some combining characters. |
protected |
ComposedUnicodeChar(int codePoint,
int[] combining)
Creates a new object from an integer code point and some combining characters. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object unicodeChar)
Compares a UnicodeChar character with the value of this
object. |
static ComposedUnicodeChar |
get(UnicodeChar uc,
int comb)
This is a factory method for combining Unicode characters. |
protected int[] |
getCombiningCodePoints()
Getter for combining character's code points. |
int |
hashCode()
Getter for the hash code. |
| Methods inherited from class org.extex.core.UnicodeChar |
|---|
get, get, getCodePoint, getDirection, getUnicodeName, isDigit, isLetter, isPrintable, lower, toString, upper |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
protected ComposedUnicodeChar(int codePoint)
codePoint - the 32-bit code point
protected ComposedUnicodeChar(int codePoint,
int[] combining)
codePoint - the 32-bit code pointcombining - the array of code points for the combining characters| Method Detail |
|---|
public static ComposedUnicodeChar get(UnicodeChar uc,
int comb)
uc - he base Unicode charactercomb - the combining mark
public boolean equals(java.lang.Object unicodeChar)
UnicodeChar character with the value of this
object. They are considered equal if the are both
ComposedUnicodeChars and have the same
codes.
The general signature for comparison to an arbitrary object is required
for the implementation of HashMap and friends.
equals in class UnicodeCharunicodeChar - the character to compare
true if the characters are equal, otherwise
falseprotected int[] getCombiningCodePoints()
public int hashCode()
hashCode in class UnicodeCharUnicodeChar.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||