java.lang.ObjectInputReader
public class InputReader
InputReader reads typed text input from the standard text terminal. The text typed by a user is then chopped into words, and a set of words is provided.
Constructor Summary | |
---|---|
InputReader()
Create a new InputReader that reads text from the text terminal. |
Method Summary | |
---|---|
java.util.HashSet<java.lang.String> |
getInput()
Read a line of text from standard input (the text terminal), and return it as a set of words. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputReader()
Method Detail |
---|
public java.util.HashSet<java.lang.String> getInput()