java.io
Class PrintStream

java.lang.Object
  |
  +--java.io.PrintStream

public class PrintStream
extends Object

Print characters in the Javelin IDE's message window.


Constructor Summary
PrintStream()
          Create a new PrintStream.
 
Method Summary
 void print(boolean b)
          Print a boolean value on the terminal.
 void print(char c)
          Print a character on the terminal.
 void print(int i)
          Print an integer on the terminal.
 void print(String s)
          Print a string on the terminal.
 void println(boolean b)
          Print a boolean value on the terminal and move to a new line.
 void println(char c)
          Print a character on the terminal and move to a new line.
 void println(int i)
          Print an integer on the terminal and move to a new line.
 void println(String s)
          Print a string on the terminal and move to a new line.
 
Methods inherited from class java.lang.Object
equals
 

Constructor Detail

PrintStream

public PrintStream()
Create a new PrintStream. It is not necessary to create new instances of this class. It should be accessed as System.out.println.

Methods in this class do not allocate memory when they are called.

Method Detail

print

public void print(String s)
Print a string on the terminal.
Parameters:
s - the string to print.

print

public void print(int i)
Print an integer on the terminal.
Parameters:
i - the integer to print.

print

public void print(char c)
Print a character on the terminal.
Parameters:
c - the character to print.

print

public void print(boolean b)
Print a boolean value on the terminal. True values will print "true" and false values will print "false".
Parameters:
b - the boolean value to print.

println

public void println(String s)
Print a string on the terminal and move to a new line.
Parameters:
s - the string to print.

println

public void println(int i)
Print an integer on the terminal and move to a new line.
Parameters:
i - the integer to print.

println

public void println(boolean b)
Print a boolean value on the terminal and move to a new line. True values will print "true" and false values will print "false".
Parameters:
b - the boolean value to print.

println

public void println(char c)
Print a character on the terminal and move to a new line.
Parameters:
c - the character to print.