|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameDecoder
An interface for decoding the names of entries stored in dictionaries.
Method Summary | |
---|---|
java.lang.Object |
decodeName(java.lang.Object prev,
ReadableBuffer b)
Decodes the name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary. |
boolean |
startsWith(java.lang.Object n,
java.lang.Object m)
Determines whether the second name starts with the first name. |
Method Detail |
---|
java.lang.Object decodeName(java.lang.Object prev, ReadableBuffer b)
prev
- The name of the previous entry in the dictionary.b
- The buffer onto which the name of the term should be
encoded.
boolean startsWith(java.lang.Object n, java.lang.Object m)
n
- The first name. We are checking to see if m
starts with n
.m
- The second name.
true
if m
starts with
n
, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |