Code example for CharBuffer

Methods: charAt

0
    public boolean hasMoreCharacters() { 
        return buffer.length() > 0;
    } 
 
    public char nextCharacter() { 
        return buffer.charAt(0);
    } 
 
    public FlatFileLocation getFlatFileLocation() { 
        return flatFileLocation;
    } 
 
    public void close() throws IOException { 
        reader.close();
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java