|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.toronto.cs.util.userprompt.UserPrompt
public class UserPrompt
This is a class to be used when the user needs to provide some input given a number of choices.
Method Summary | |
---|---|
static java.lang.Object |
pickOne(java.util.Collection things)
Given a Collection of Objects it will display all of them in a list and then prompt the user to pick one by entering an appropriate number. |
static java.util.Set |
pickSome(java.util.Collection things)
|
static void |
waitPrompt()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object pickOne(java.util.Collection things)
public static void waitPrompt()
public static java.util.Set pickSome(java.util.Collection things)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |