org.abora.white.value
Class PrimFloatValue

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.value.PrimValue
              |
              +--org.abora.white.value.PrimFloatValue
Direct Known Subclasses:
IEEE32Value, IEEE64Value

public abstract class PrimFloatValue
extends PrimValue


Constructor Summary
protected PrimFloatValue()
           
 
Method Summary
abstract  float asIEEE32()
          The value as an IEEE 32-bit floating point number.
abstract  double asIEEE64()
          Return the value as an IEEE 64-bit floating point number.
 boolean isEqual(Heaper other)
          Return true if the two objects are equal.
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
actualHashForEqual, destroy, destruct, equals, hashForEqual, printContentsOn, printOn, sendSelfTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimFloatValue

protected PrimFloatValue()
Method Detail

asIEEE32

public abstract float asIEEE32()
The value as an IEEE 32-bit floating point number. May not be possible if conversion from subclass to IEEE type is not available.


asIEEE64

public abstract double asIEEE64()
Return the value as an IEEE 64-bit floating point number.

Returns:
double value as an IEEE 64-bit floating point number.

isEqual

public boolean isEqual(Heaper other)
Description copied from class: Heaper
Return true if the two objects are equal.

Specified by:
isEqual in class Heaper


Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.