Class SchemeBoolean

java.lang.Object
  |
  +--SchemeObject
        |
        +--SchemeBoolean

public class SchemeBoolean
extends SchemeObject

This class implements Scheme boolean objects. This is the class can has only two instances, #t and #f.


Field Summary
static SchemeBoolean FALSE
           
static SchemeBoolean TRUE
           
 
Method Summary
static SchemeBoolean getBoolean(boolean b)
          Get the #t or #f object.
static SchemeBoolean getFalse()
          Get the #f object.
static SchemeBoolean getTrue()
          Get the #t object.
 boolean getValue()
          get the value of this boolean object.
 java.lang.String toString()
          Convert the boolean object to a printable string.
 
Methods inherited from class SchemeObject
cadddr, caddr, cadr, car, cdar, cddr, cdr, getCar, getCdr, read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final SchemeBoolean TRUE

FALSE

public static final SchemeBoolean FALSE
Method Detail

getTrue

public static SchemeBoolean getTrue()
Get the #t object.

getFalse

public static SchemeBoolean getFalse()
Get the #f object.

getBoolean

public static SchemeBoolean getBoolean(boolean b)
Get the #t or #f object.
Parameters:
b -  

getValue

public boolean getValue()
get the value of this boolean object.

toString

public java.lang.String toString()
Convert the boolean object to a printable string.
Overrides:
toString in class java.lang.Object