org.abora.white.tumbler
Class RealSpace

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.spaces.basic.CoordinateSpace
              |
              +--org.abora.white.tumbler.RealSpace

public class RealSpace
extends CoordinateSpace

Non-arithmetic space of real numbers in which only certain positions are explicitly representable. In this release, the only exactly representable numbers are those real numbers which can be represented in IEEE64 (double precision) format. Future releases may make more real numbers representable.


Field Summary
protected static RealSpace TheRealSpace
           
 
Fields inherited from class org.abora.white.spaces.basic.CoordinateSpace
myAscending, myDescending, myEmptyRegion, myFullRegion, myIdentityDsp
 
Constructor Summary
RealSpace()
           
 
Method Summary
 RealRegion above(RealPos val, boolean inclusive)
          The region consisting of all positions >= val if inclusive, or all > val if not inclusive.
 int actualHashForEqual()
          is equal to any basic space on the same category of positions
 RealRegion after(double val)
          The region consisting of all position >= val.
 RealRegion before(double val)
          The region consisting of all position <= val Should this just be supplanted by CoordinateSpace::region ()?
 RealRegion below(RealPos val, boolean inclusive)
          The region consisting of all positions <= val if inclusive, or all < val if not inclusive.
 RealRegion interval(RealPos start, RealPos stop)
          Return a region of all numbers >= lower and < upper.
 boolean isEqual(Heaper anObject)
          is equal to any basic space on the same category of positions
static RealSpace make()
           
static Heaper make(Rcvr rcvr)
           
 RealPos position(double val)
          The XuReal representing the same real number as that exactly represented by 'val'.
 void sendSelfTo(Xmtr xmtr)
           
 RealRegion strictlyAfter(double val)
          The region consisting of all position > val Should this just be supplanted by CoordinateSpace::region ()? Add Boolean to after to say whether its inclusive?
 RealRegion strictlyBefore(double val)
          The region consisting of all position < val Should this just be supplanted by CoordinateSpace::region ()? Add Boolean to before to say whether its inclusive?
 
Methods inherited from class org.abora.white.spaces.basic.CoordinateSpace
ascending, completeMapping, descending, emptyRegion, fetchAscending, fetchDescending, finishCreate, fullRegion, getAscending, getDescending, identityDsp, identityMapping, verify
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, printContentsOn, printOn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TheRealSpace

protected static RealSpace TheRealSpace
Constructor Detail

RealSpace

public RealSpace()
Method Detail

above

public RealRegion above(RealPos val,
                        boolean inclusive)
The region consisting of all positions >= val if inclusive, or all > val if not inclusive.


below

public RealRegion below(RealPos val,
                        boolean inclusive)
The region consisting of all positions <= val if inclusive, or all < val if not inclusive.


interval

public RealRegion interval(RealPos start,
                           RealPos stop)
Return a region of all numbers >= lower and < upper.


position

public RealPos position(double val)
The XuReal representing the same real number as that exactly represented by 'val'. If 'val' doesn't represent a real number (i.e., it is an infinity or a NAN), then this message BLASTs. If 'val' is a negative zero, it is silently converted to a positive zero


after

public RealRegion after(double val)
The region consisting of all position >= val. Should this just be supplanted by CoordinateSpace::region ()?


before

public RealRegion before(double val)
The region consisting of all position <= val Should this just be supplanted by CoordinateSpace::region ()?


strictlyAfter

public RealRegion strictlyAfter(double val)
The region consisting of all position > val Should this just be supplanted by CoordinateSpace::region ()? Add Boolean to after to say whether its inclusive?


strictlyBefore

public RealRegion strictlyBefore(double val)
The region consisting of all position < val Should this just be supplanted by CoordinateSpace::region ()? Add Boolean to before to say whether its inclusive?


actualHashForEqual

public int actualHashForEqual()
is equal to any basic space on the same category of positions

Overrides:
actualHashForEqual in class CoordinateSpace

isEqual

public boolean isEqual(Heaper anObject)
is equal to any basic space on the same category of positions

Specified by:
isEqual in class CoordinateSpace

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Overrides:
sendSelfTo in class Heaper

make

public static RealSpace make()

make

public static Heaper make(Rcvr rcvr)


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