common-util

local.tomas.expr
Class DoubleConstant

java.lang.Object
  extended by local.tomas.expr.NumberConstant
      extended by local.tomas.expr.DoubleConstant
All Implemented Interfaces:
Serializable, Constant, Expression

public class DoubleConstant
extends NumberConstant
implements Constant

Constant double expression.

Author:
Teubner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class local.tomas.expr.NumberConstant
value
 
Constructor Summary
DoubleConstant()
          Default constructor.
DoubleConstant(double value)
          Constructor using fields.
DoubleConstant(Number value)
          Constructor using fields.
 
Method Summary
 Double getValue()
          Get value.
 
Methods inherited from class local.tomas.expr.NumberConstant
equals, greet, hashCode, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface local.tomas.expr.Expression
greet
 

Constructor Detail

DoubleConstant

public DoubleConstant()
Default constructor.


DoubleConstant

public DoubleConstant(Number value)
Constructor using fields.

Parameters:
value - constant value

DoubleConstant

public DoubleConstant(double value)
Constructor using fields.

Parameters:
value - constant value
Method Detail

getValue

public Double getValue()
Get value.

Returns:
double value

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.