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