org.abora.white.spaces.basic
Class Position

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.spaces.basic.Position
Direct Known Subclasses:
FilterPosition, IntegerPos, RealPos, Sequence, Tuple, UnOrdered

public abstract class Position
extends Heaper

This is the superclass of all positions of coordinate spaces. Each individual position is specific to some one coordinate space. Positions themselves don''t have much behavior, as most of the interesting aspects of coordinate spaces are defined in the other objects in terms of positions. Positions do have their own native ordering messages, but for most purposes it''s probably better to compare them using an appropriate OrderSpec.


Constructor Summary
protected Position()
           
protected Position(Rcvr rcvr)
           
 
Method Summary
 int actualHashForEqual()
          since we redefine equal, subclasses had better redefine actualHashForEqual
abstract  XnRegion asRegion()
          Essential.
abstract  CoordinateSpace coordinateSpace()
          Essential.
static void info()
          {XuRegion CLIENT} asRegion {CoordinateSpace CLIENT} coordinateSpace
abstract  boolean isEqual(Heaper other)
          Return true if the two objects are equal.
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
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

Position

protected Position()

Position

protected Position(Rcvr rcvr)
Method Detail

actualHashForEqual

public int actualHashForEqual()
since we redefine equal, subclasses had better redefine actualHashForEqual

Overrides:
actualHashForEqual in class Heaper

isEqual

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

Specified by:
isEqual in class Heaper

asRegion

public abstract XnRegion asRegion()
Essential. A region containing this position as its only element.


coordinateSpace

public abstract CoordinateSpace coordinateSpace()
Essential. The coordinate space this is a position in. This implies that a position object is only a position in one particular coordinate space.


info

public static void info()
{XuRegion CLIENT} asRegion {CoordinateSpace CLIENT} coordinateSpace



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