com.satline.expr
Class IntegerConstant

java.lang.Object
  extended by com.satline.expr.NumberConstant
      extended by com.satline.expr.IntegerConstant
All Implemented Interfaces:
Constant, Expression, java.io.Serializable

public class IntegerConstant
extends NumberConstant

Integer constant expression.

Author:
Teubner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.satline.expr.NumberConstant
value
 
Constructor Summary
IntegerConstant()
          Default constructor.
IntegerConstant(int value)
          Construct constant from value.
IntegerConstant(java.lang.Integer value)
           
IntegerConstant(java.lang.Number value)
          Construct constant from value.
 
Method Summary
 java.lang.Integer getValue()
          Get value.
 
Methods inherited from class com.satline.expr.NumberConstant
equals, greet, hashCode, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerConstant

public IntegerConstant()
Default constructor.


IntegerConstant

public IntegerConstant(int value)
Construct constant from value.

Parameters:
value -

IntegerConstant

public IntegerConstant(java.lang.Integer value)

IntegerConstant

public IntegerConstant(java.lang.Number value)
Construct constant from value.

Parameters:
value -
Method Detail

getValue

public java.lang.Integer getValue()
Get value.

Returns:
the value.


Copyright © 2007 null. All Rights Reserved.