Java examples for java.lang:char
Indicates if the given character is a line feed.
//package com.java2s; public class Main { /**/*from w ww . j a va 2 s . c om*/ * Indicates if the given character is a line feed. * * @param character * The character to test. * @return True if the given character is a line feed. */ public static boolean isLineFeed(int character) { return (character == 10); } }