示例#1
0
 /*
  * Reset doc comment before reading each new token
  */
 public void nextToken() {
   docComment = null;
   super.nextToken();
 }
 public static void main(String[] args) {
   Scanner s = new Scanner(new RandomWords(10));
   while (s.hasNext()) System.out.println(s.next());
 }