|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.worldsaver.names.Charlist
This is a class encapturing the probabilities of the Names-configfile.
Constructor Summary | |
Charlist(char ch)
The constructor. ch is the char that should be encaptured by the new instance. |
Method Summary | |
char |
follower(int rand)
Returns a follower-char for a given integer value. |
char |
getIdent()
Returns the char the instance is representing. |
void |
increase(char a)
Use this to increase the probability of the char `a' following the char represented by this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Charlist(char ch)
ch
- The char for this class...Method Detail |
public char getIdent()
public void increase(char a)
a
- the char apublic char follower(int rand)
rand
- The integer value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |