talx x1.0.5

wizx.lang
Class BooleanValue

java.lang.Object
  extended bywizx.lang.Value
      extended bywizx.lang.BooleanValue

public class BooleanValue
extends Value


Field Summary
static BooleanValue FALSE
           
static BooleanValue TRUE
           
 
Method Summary
static BooleanValue and(ListValue list)
           
 BooleanValue convertToBoolean()
           
 NumberValue convertToNumber()
           
 StringValue convertToString()
           
 boolean equals(java.lang.Object o)
           
static BooleanValue factory(boolean b)
           
static BooleanValue factory(java.lang.String b)
          If b is "T", "true", "yes", or any number except 0, returns true, otherwise, returns false.
 boolean getBoolean()
           
 BooleanValue not()
           
static BooleanValue or(ListValue list)
           
 java.lang.String toString()
           
 
Methods inherited from class wizx.lang.Value
addProperty, convertToList, convertToRecord, dereference, parse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final BooleanValue TRUE

FALSE

public static final BooleanValue FALSE
Method Detail

factory

public static BooleanValue factory(boolean b)

factory

public static BooleanValue factory(java.lang.String b)
If b is "T", "true", "yes", or any number except 0, returns true, otherwise, returns false.


and

public static BooleanValue and(ListValue list)

or

public static BooleanValue or(ListValue list)

convertToString

public StringValue convertToString()
Overrides:
convertToString in class Value

convertToBoolean

public BooleanValue convertToBoolean()
Overrides:
convertToBoolean in class Value

convertToNumber

public NumberValue convertToNumber()
Overrides:
convertToNumber in class Value

not

public BooleanValue not()

toString

public java.lang.String toString()

getBoolean

public boolean getBoolean()

equals

public boolean equals(java.lang.Object o)

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.