|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.parser.acl.bitefficient.DecoderCodetable
Implementation of decoder codetable for fipa-bitefficient-std messages
Constructor Summary | |
DecoderCodetable(int sz)
Initialize the codetable with given size. |
Method Summary | |
int |
insert(java.lang.String s)
Insert a new String to codetable. |
java.lang.String |
lookup(int code)
Returns the String to which the specified code is mapped in this codetable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DecoderCodetable(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 java.lang.String lookup(int code)
code
- The code to lookuppublic int insert(java.lang.String s)
s
- String to insert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |