|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sjgames.fnorder.Fnorder
Fnord program that creates illuminating statements through the pseudo-random recombination of important words and phrases.
To get fnord text, simply call this class from the command line or call Fnorder.getFnord ().
Field Summary | |
protected static java.util.Random |
rand
|
Fields inherited from interface com.sjgames.fnorder.Fnorders |
abilities,
actions,
adjectives,
infinitives,
intros,
modifiers,
names,
nouns,
places,
prepositions,
pronouns |
Constructor Summary | |
private |
Fnorder()
|
Method Summary | |
protected static java.lang.String |
getAct()
Returns an action oriented word/phrase. |
protected static java.lang.String |
getAdj()
Returns an adjective. |
static java.lang.String |
getFnord()
Returns a randomly created fnord. |
protected static java.lang.String |
getIntro()
Returns an introductory word/phrase. |
protected static java.lang.String |
getName()
Returns a proper name. |
protected static java.lang.String |
getNoun()
Returns a noun. |
protected static java.lang.String |
getPlace()
Returns the name of a place. |
protected static java.lang.String |
getPronoun()
Returns a pronoun. |
protected static java.lang.String |
getPrs()
Returns a person's name. |
static void |
main(java.lang.String[] args)
Prints a fnord to stdout. |
protected static int |
rand(int max)
Returns a random number between 0 and max - 1. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected static java.util.Random rand
Constructor Detail |
private Fnorder()
Method Detail |
public static void main(java.lang.String[] args)
protected static java.lang.String getIntro()
protected static java.lang.String getNoun()
protected static java.lang.String getName()
protected static java.lang.String getPlace()
protected static java.lang.String getPrs()
protected static java.lang.String getAct()
protected static java.lang.String getPronoun()
protected static java.lang.String getAdj()
protected static int rand(int max)
public static java.lang.String getFnord()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |