|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.jperf.Keywords
This class contains the keywords to hash
Constructor Summary | |
Keywords(java.lang.String[] keywords)
Creates a Keywords object |
Method Summary | |
java.lang.String |
elementAt(int index)
Returns the keyword at specified index. |
void |
genCode(java.io.PrintWriter out)
Prints keyword related code to the output file. |
char |
getMaxCharValue()
Returns the largest ASCII value in all keys. |
int |
getMaxWordLength()
Returns the length of the longest keyword. |
char |
getMinCharValue()
Returns the smallest ASCII value in all keys. |
int |
size()
Returns the number of keywords. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Keywords(java.lang.String[] keywords)
keywords
- the array of keywords.Method Detail |
public final int size()
public final java.lang.String elementAt(int index)
public final int getMaxWordLength()
public final char getMinCharValue()
public final char getMaxCharValue()
public void genCode(java.io.PrintWriter out)
out
- the output stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |