org.hawk.module.script.type
Class DoubleDataType

java.lang.Object
  extended by org.hawk.module.script.type.AbstractDataType
      extended by org.hawk.module.script.type.DoubleDataType
All Implemented Interfaces:
IDataType

public class DoubleDataType
extends AbstractDataType


Constructor Summary
DoubleDataType(double data)
           
 
Method Summary
 IDataType copy()
           
 double getData()
           
 boolean isPositiveInteger()
           
 void setData(double data)
           
 java.lang.String toString()
           
 
Methods inherited from class org.hawk.module.script.type.AbstractDataType
add, and, divide, equalTo, greaterThan, greaterThanEqualTo, lessThan, lessThanEqualTo, modulus, multiply, or, subtract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleDataType

public DoubleDataType(double data)
Method Detail

getData

public double getData()

setData

public void setData(double data)

isPositiveInteger

public boolean isPositiveInteger()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

copy

public IDataType copy()
               throws HawkException
Specified by:
copy in interface IDataType
Specified by:
copy in class AbstractDataType
Throws:
HawkException