RoboJDETM v2.0

java.lang
Class Boolean

java.lang.Object
  extended by java.lang.Boolean

public class Boolean
extends Object

Class to represent a boolean as an immutable object.


Constructor Summary
Boolean(boolean value)
          Constructs a Boolean object.
 
Method Summary
 String toString()
          Returns a String representation of this Boolean.
static String toString(boolean value)
          Returns a String representation of the specified boolean.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait
 

Constructor Detail

Boolean

public Boolean(boolean value)
Constructs a Boolean object.

Parameters:
value - boolean value
Method Detail

toString

public String toString()
Returns a String representation of this Boolean.

Overrides:
toString in class Object
Returns:
"true" or "false"

toString

public static String toString(boolean value)
Returns a String representation of the specified boolean.

Parameters:
value - boolean value
Returns:
"true" or "false"

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com