/** * Print a floating-point number and then terminate the line. * * @see PrintStream#println(float) * @see PrintWriter#println(float) * @param value Floating-point number to be printed */ public void println(float value) { print(Float.toString(value)); println(); }
/** * Print a double-precision floating-point number and then terminate the line. * * @see PrintStream#println(double) * @see PrintWriter#println(double) * @param value Double-precision floating-point number to be printed */ public void println(double value) { print(Double.toString(value)); println(); }
/** * Print a boolean value and then terminate the line. * * @see Boolean#toString(boolean) * @see PrintStream#println(boolean) * @see PrintWriter#println(boolean) * @param value Boolean value to be printed */ public void println(boolean value) { print(Boolean.toString(value)); println(); }
/** * Print a long integer value and then terminate the line. * * @see Long#toString(long) * @see PrintStream#println(long) * @see PrintWriter#println(long) * @param value long integer value to be printed */ public void println(long value) { print(Long.toString(value)); println(); }
/** * Print an integer value and then terminate the line. * * @see Integer#toString(int) * @see PrintStream#println(int) * @see PrintWriter#println(int) * @param value integer value to be printed */ public void println(int value) { print(Integer.toString(value)); println(); }
/** * Print an array of characters and then terminate the line. * * @see PrintStream#println(char[]) * @see PrintWriter#println(char[]) * @param c Character to be printed */ public void println(char c[]) { print(c); println(); }