org.omegahat.Graphics.Primitives
Class InterpretedUDouble

java.lang.Object
  |
  +--org.omegahat.Graphics.Primitives.UDouble
        |
        +--org.omegahat.Graphics.Primitives.InterpretedUDouble
All Implemented Interfaces:
Addable, MathOperable, Subtractable

public class InterpretedUDouble
extends UDouble
implements Addable, Subtractable

Version of UDouble that allows it to be used with operator overloading in Omegahat, but that allows the same methods to be called explicitly in Java without requiring the entire Omegahat distribution.


Fields inherited from interface org.omegahat.Environment.DataStructures.MathOperable
DIVIDE, MINUS, MULTIPLY, PLUS
 
Constructor Summary
InterpretedUDouble(double value)
           
InterpretedUDouble(double value, int unit)
           
 
Methods inherited from class org.omegahat.Graphics.Primitives.UDouble
addValue, addValue, addValue, createInstance, subtractValue, toString, transformDimension, transformHeight, transformLocation, transformWidth, transformX, transformY, unit, unit, value, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omegahat.Environment.DataStructures.Addable
addValue
 
Methods inherited from interface org.omegahat.Environment.DataStructures.Subtractable
subtractValue
 

Constructor Detail

InterpretedUDouble

public InterpretedUDouble(double value)

InterpretedUDouble

public InterpretedUDouble(double value,
                          int unit)