Here you can find the source of isWhitespace(int c)
Parameter | Description |
---|---|
c | code point to test |
public static boolean isWhitespace(int c)
//package com.java2s; public class Main { /**// www . j av a2 s .co m * Tests if a code point is "whitespace" as defined in the HTML spec. * @param c code point to test * @return true if code point is whitespace, false otherwise */ public static boolean isWhitespace(int c) { return c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r'; } }