public abstract class FixedSetPrompt extends ValidatingPrompt
END_OF_CONVERSATION| Constructor and Description |
|---|
FixedSetPrompt(String... fixedSet)
Creates a FixedSetPrompt from a set of strings.
|
acceptInput, blocksForInputequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPromptTextpublic FixedSetPrompt(String... fixedSet)
foo = new FixedSetPrompt("bar", "cheese", "panda");
fixedSet - A fixed set of strings, one of which the user must
type.Copyright © 2022. All rights reserved.