|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.siemens.ct.exi.datatype.charset.AbstractRestrictedCharacterSet
public abstract class AbstractRestrictedCharacterSet
| Method Summary | |
|---|---|
int |
getCode(int codePoint)
Returns code for given code-point or NOT_FOUND == -1 for
invalid char. |
int |
getCodePoint(int code)
Retrieves the code-point for given code. |
int |
getCodingLength()
Returns the number of bits to encode codes for the set. |
int |
size()
Returns the number of entries for the set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getCodePoint(int code)
RestrictedCharacterSet
getCodePoint in interface RestrictedCharacterSetpublic int getCode(int codePoint)
RestrictedCharacterSetNOT_FOUND == -1 for
invalid char.
getCode in interface RestrictedCharacterSetcodePoint - character of interest
public int size()
RestrictedCharacterSet
size in interface RestrictedCharacterSetpublic int getCodingLength()
RestrictedCharacterSetcodingLength = ceil( log2(N + 1) ) and N is the number of characters in the restricted character set.
getCodingLength in interface RestrictedCharacterSetRestrictedCharacterSet.size()
|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||