Class P

java.lang.Object
  extended byP

public class P
extends java.lang.Object

The P class from exercise 5.4 in the book.

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk

Constructor Summary
P()
           
 
Method Summary
static void rint(boolean b)
          Overloaded version of rint
static void rint(java.lang.String s)
          Simpler to call print method.
static void rintln(boolean b)
          Simpler to calls System.out.println.
static void rintln(java.lang.String s)
          Simpler to calls System.out.println.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P

public P()
Method Detail

rint

public static void rint(java.lang.String s)
Simpler to call print method.


rint

public static void rint(boolean b)
Overloaded version of rint

Parameters:
b - the boolean variable to print

rintln

public static void rintln(java.lang.String s)
Simpler to calls System.out.println.

Parameters:
s - the string to display

rintln

public static void rintln(boolean b)
Simpler to calls System.out.println.

Parameters:
b - the boolean to display