Java examples for java.nio:CharBuffer
is Whitespace At CharBuffer
//package com.java2s; import java.nio.CharBuffer; public class Main { public static boolean isWhitespaceAt(int pos, CharBuffer buf) { char c = buf.get(pos); return c == ' ' || c == '\t'; }/* w ww. j a v a 2s . co m*/ }