|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.compiler.tools.jperf.Keywords
public class Keywords
This class contains the keywords to hash
| 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 |
| 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||