Indicates if the given character is a semicolon, the character used as header parameter separator. - Java java.lang

Java examples for java.lang:char

Description

Indicates if the given character is a semicolon, the character used as header parameter separator.

Demo Code


//package com.java2s;

public class Main {
    /**/*from ww w.  j  a v  a  2 s . co  m*/
     * Indicates if the given character is a semicolon, the character used as header parameter separator.
     * 
     * @param character
     *            The character to test.
     * @return True if the given character is a semicolon.
     */
    public static boolean isSemiColon(int character) {
        return (character == ';');
    }
}

Related Tutorials