|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RestrictedCharacterSet
| Method Summary | |
|---|---|
char |
getCharacter(int code)
Retrieves the character with given code(-point). |
int |
getCode(char c)
Returns code for given character or NOT_FOUND == -1 for
invalid char. |
int |
getCodingLength()
Returns the number of bits to encode codes for the set. |
int |
size()
Returns the number of entries for the set. |
| Method Detail |
|---|
char getCharacter(int code)
throws UnknownElementException
code -
UnknownElementException - code unknownint getCode(char c)
NOT_FOUND == -1 for
invalid char.
c - character of interest
int size()
int getCodingLength()
codingLength = ceil( log2(N + 1) ) and N is the number of characters in the restricted character set.
size()
|
EXIficient | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||