static boolean isStrWhiteSpaceChar(int c){
switch (c) {
case ' ':
case '\n':
case '\r':
case '\t':
case '\u00A0':
case '\u000C':
case '\u000B':
case '\u2028':
case '\u2029':
case '\uFEFF':
    return true;
default :
  return Character.getType(c) == Character.SPACE_SEPARATOR;
}
}

static boolean isStrWhiteSpaceChar ( int c ) { switch ( c ) { case ' ' : case '\n' : case '\r' : case '\t' : case ' ' : case '' : case '' : case ' ' : case ' ' : case '﻿' : return true ; default : return Character . getType ( c ) == Character . SPACE_SEPARATOR ; } }
indicates if the character is a str whitespace char according to ecma spec : strwhitespacechar : : : < tab > < sp > < nbsp > < ff > < vt > < cr > < lf > < ls > < ps > < usp > < bom >
