|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.parser.acl.bitefficient.EncoderCodetable
Implementation of codetable for fipa-bitefficient-std.
Constructor Summary | |
EncoderCodetable(int sz)
Initialize the code table with given size. |
Method Summary | |
int |
insert(java.lang.String s)
Inserts a string to codetable. |
int |
lookup(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncoderCodetable(int sz)
sz
- Size of the codetable in bits. According to FIPA
specs, this shall be a number between 8 and 16.Method Detail |
public int insert(java.lang.String s)
s
- String to insertpublic int lookup(java.lang.String s)
s
- The string to lookup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |