cdm/src/main/java/ucar/unidata/geoloc/ogc/WKTParser.java
private char peek() throws ParseException {
    try {
      reader.mark(10);
      int aChar = reader.read();
      reader.reset();
      if (aChar < 0) {
        return (char) 0;
      } else {
        return (char) aChar;
      }
    } catch (java.io.IOException e1) {
      throw new ParseException("Strange io error " + e1, position);
    }
  }
private char peek() throws ParseException {
    try {
      reader.mark(10);
      int aChar = reader.read();
      reader.reset();
      if (aChar < 0) {
        return (char) 0;
      } else {
        return (char) aChar;
      }
    } catch (java.io.IOException e1) {
      throw new ParseException("Strange io error " + e1, position);
    }
  }
private char peek ( ) throws ParseException { try { reader . mark ( 10 ) ; int aChar = reader . read ( ) ; reader . reset ( ) ; if ( aChar < 0 ) { return ( char ) 0 ; } else { return ( char ) aChar ; } } catch ( java . io . IOException e1 ) { throw new ParseException ( "Strange io error " + e1 , position ) ; } }
Peek ahead

@return the char
@throws ParseException problem parsing
Peek ahead