Java examples for java.lang:char
Indicates if the given character is a carriage return.
//package com.java2s; public class Main { /**/*from www .j a va 2 s .com*/ * Indicates if the given character is a carriage return. * * @param character * The character to test. * @return True if the given character is a carriage return. */ public static boolean isCarriageReturn(int character) { return (character == 13); } }