tecgraf.javautils.jexpression.parser.model
Class DoubleValue

java.lang.Object
  extended by tecgraf.javautils.jexpression.parser.model.Exp
      extended by tecgraf.javautils.jexpression.parser.model.DoubleValue

public class DoubleValue
extends Exp

Classe que armazena uma valor numérico em formato Double. Ex: 3, 3.0, 3.14, 5.1e+2, 5.1E+2, 5.1e-2, 5.1E-2

Author:
Tecgraf

Constructor Summary
DoubleValue(double value)
          Construtor.
 
Method Summary
 double getValue()
          Valor.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleValue

public DoubleValue(double value)
Construtor.

Parameters:
value - valor.
Method Detail

getValue

public double getValue()
Valor.

Returns:
valor.

toString

public String toString()

Specified by:
toString in class Exp


Copyright © 2007–2014 Tecgraf/PUC-Rio. All rights reserved.