Java examples for java.lang:char
Indicates if the given character is a comma, the character used as header value separator.
//package com.java2s; public class Main { /**/*from w w w. j ava 2s . c om*/ * Indicates if the given character is a comma, the character used as header value separator. * * @param character * The character to test. * @return True if the given character is a comma. */ public static boolean isComma(int character) { return (character == ','); } }