|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.jperf.Keywords
This class contains the keywords to hash
| Field Summary | |
private String[] |
keywords
|
private char |
maxCharValue
|
private int |
maxWordLength
|
private char |
minCharValue
|
private int |
minWordLength
|
| Constructor Summary | |
Keywords(String[] keywords)
Creates a Keywords object |
|
| Method Summary | |
String |
elementAt(int index)
Returns the keyword at specified index. |
void |
genCode(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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final String[] keywords
private final int minWordLength
private final int maxWordLength
private final char minCharValue
private final char maxCharValue
| Constructor Detail |
public Keywords(String[] keywords)
keywords - the array of keywords.| Method Detail |
public final int size()
public final String elementAt(int index)
public final int getMaxWordLength()
public final char getMinCharValue()
public final char getMaxCharValue()
public void genCode(PrintWriter out)
out - the output stream
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||