com.sjgames.fnorder
Class Fnorder

java.lang.Object
  |
  +--com.sjgames.fnorder.Fnorder

public class Fnorder
extends java.lang.Object
implements Fnorders

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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

rand

protected static java.util.Random rand
Constructor Detail

Fnorder

private Fnorder()
Method Detail

main

public static void main(java.lang.String[] args)
Prints a fnord to stdout.

getIntro

protected static java.lang.String getIntro()
Returns an introductory word/phrase.

getNoun

protected static java.lang.String getNoun()
Returns a noun.

getName

protected static java.lang.String getName()
Returns a proper name.

getPlace

protected static java.lang.String getPlace()
Returns the name of a place.

getPrs

protected static java.lang.String getPrs()
Returns a person's name.

getAct

protected static java.lang.String getAct()
Returns an action oriented word/phrase.

getPronoun

protected static java.lang.String getPronoun()
Returns a pronoun.

getAdj

protected static java.lang.String getAdj()
Returns an adjective.

rand

protected static int rand(int max)
Returns a random number between 0 and max - 1.

getFnord

public static java.lang.String getFnord()
Returns a randomly created fnord.