JET

edu.utep.cs.jet.rat.val
Class DoubleValue

java.lang.Object
  extended by edu.utep.cs.jet.rat.val.PrimitiveValue
      extended by edu.utep.cs.jet.rat.val.DoubleValue
All Implemented Interfaces:
Denotable

public class DoubleValue
extends PrimitiveValue

A class to represent a double value.

Version:
$Revision: 1.5 $
Author:
Yoonsik Cheon

Field Summary
 
Fields inherited from class edu.utep.cs.jet.rat.val.PrimitiveValue
value
 
Constructor Summary
DoubleValue(double val)
          Creates a new instance representing the given double value.
 
Method Summary
 String toString()
          Returns the string representation of this value.
 Class<?> type()
          Returns the type of this value.
 
Methods inherited from class edu.utep.cs.jet.rat.val.PrimitiveValue
code, isEquivalentTo, isNull, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleValue

public DoubleValue(double val)
Creates a new instance representing the given double value.

Method Detail

type

public Class<?> type()
Description copied from class: PrimitiveValue
Returns the type of this value.

Specified by:
type in interface Denotable
Specified by:
type in class PrimitiveValue

toString

public String toString()
Description copied from class: PrimitiveValue
Returns the string representation of this value.

Specified by:
toString in interface Denotable
Overrides:
toString in class PrimitiveValue

JET

JET is Copyright (C) 2005-2008 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.