title: Is it possible to create a lookAheadBuffer from a java.util.Scanner?
body: <p>I want to build a look ahead buffer based on the current state of a java.util.Scanner.  By this I mean if you think of a Scanner as a conveyer belt that delivers 'words' the 'current state' of the Scanner would be the words remaining on the conveyer belt.</p>
  
  <p>I thought I could do this by constructing another, temporary Scanner that held the current state of the original scanner.  I could then use getNext() to populate the look ahead buffer from the temporary scanner and not affect the state of the original scanner.</p>
  
  <p>Unfortunately, there is no constructor or method that provides the current state of the original scanner as I need it.</p>
  
  <p>Is it possible to create a look Ahead Buffer from the current state of a Scanner?</p>