com.jeffpalm.tiny
Class Value.Int

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

public static class Value.Int
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.Int(int 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.Int

public Value.Int(int val)
Method Detail

defaultValue

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

intValue

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

boolValue

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

type

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