com.jeffpalm.tiny
Class Value.Bool

java.lang.Object
  extended by com.jeffpalm.tiny.Value
      extended by com.jeffpalm.tiny.Value.Bool
Enclosing class:
Value

public static class Value.Bool
extends Value


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jeffpalm.tiny.Value
Value.Bool, Value.Factory, Value.Int, Value.Str
 
Field Summary
 
Fields inherited from class com.jeffpalm.tiny.Value
maker, NIL
 
Constructor Summary
Value.Bool(boolean val)
           
 
Method Summary
 java.lang.Boolean boolValue()
           
 Value defaultValue()
           
 java.lang.Integer intValue()
           
 com.jeffpalm.tiny.Interpreter.Type type()
           
 
Methods inherited from class com.jeffpalm.tiny.Value
objValue, var
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value.Bool

public Value.Bool(boolean val)
Method Detail

defaultValue

public Value defaultValue()
Specified by:
defaultValue in class Value

boolValue

public java.lang.Boolean boolValue()
Overrides:
boolValue in class Value

intValue

public java.lang.Integer intValue()
Overrides:
intValue in class Value

type

public com.jeffpalm.tiny.Interpreter.Type type()
Specified by:
type in class Value