Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleAppendix

Fra Math-klassen:

float java.lang.Math.signum(float f): Returns the signum function of the argument; zero if the argument is zero, 1.0f if the argument is greater than zero, -1.0f if the argument is less than zero.

Fra PrintStream-klassen: java.io.PrintStream

A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.

void java.io.PrintStream.print(String s): Prints a string. If the argument is null then the string "null" is printed. Otherwise, the string's characters are converted into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the write(int) method.

void java.io.PrintStream.println(String x): Prints a String and then terminate the line. This method behaves as though it invokes print(String) and then println().