public boolean hasNextLine(){
  saveCurrentStatus();
  String result=findWithinHorizon(LINE_PATTERN,0);
  recoverPreviousStatus();
  return result != null;
}

public boolean hasNextLine ( ) { saveCurrentStatus ( ) ; String result = findWithinHorizon ( LINE_PATTERN , 0 ) ; recoverPreviousStatus ( ) ; return result != null ; }
returns true if there is a line terminator in the input . this method may block .
