|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object standup.joke.JokeTypeSet
public class JokeTypeSet
A set of JokeType
s.
Field Summary | |
---|---|
private List<JokeType> |
set
|
Constructor Summary | |
---|---|
JokeTypeSet()
|
Method Summary | |
---|---|
void |
add(JokeType j)
|
void |
add(JokeTypeSet js)
|
JokeType |
getJokeType(String label)
|
List<JokeType> |
getList()
|
JokeType |
getRandom()
|
static JokeTypeSet |
load(URL url)
|
static JokeTypeSet |
readXML(Element doc)
|
JokeType |
removeRandom()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private List<JokeType> set
Constructor Detail |
---|
public JokeTypeSet()
Method Detail |
---|
public void add(JokeType j)
public void add(JokeTypeSet js)
public List<JokeType> getList()
public JokeType getRandom()
public JokeType removeRandom()
public String toString()
toString
in class Object
public JokeType getJokeType(String label)
public static JokeTypeSet load(URL url)
public static JokeTypeSet readXML(Element doc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |