org.abora.white.tumbler
Class RealEdge

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.edgeregion.TransitionEdge
              |
              +--org.abora.white.tumbler.RealEdge
Direct Known Subclasses:
AfterReal, BeforeReal

public abstract class RealEdge
extends TransitionEdge


Field Summary
protected  RealPos myPos
           
 
Constructor Summary
RealEdge(Rcvr receiver)
           
RealEdge(RealPos pos)
           
 
Method Summary
 int actualHashForEqual()
          Defined by subclasses to produce the value returned by hashForEqual.
abstract  boolean follows(Position pos)
          Whether the position is strictly less than this edge
abstract  boolean isEqual(Heaper other)
          Return true if the two objects are equal.
abstract  boolean isFollowedBy(TransitionEdge next)
          Whether there is precisely one position between this edge and the next one
abstract  boolean isGE(TransitionEdge other)
          Defines a full ordering among all edges in a given CoordinateSpace
 RealPos position()
           
abstract  void printTransitionOn(java.io.PrintWriter oo, boolean entering, boolean touchesPrevious)
          Print a description of this transition
 void sendSelfTo(Xmtr xmtr)
           
 boolean touches(TransitionEdge other)
          Whether this edge touches the same position the other does
 
Methods inherited from class org.abora.white.edgeregion.TransitionEdge
ceiling, floor
 
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

myPos

protected RealPos myPos
Constructor Detail

RealEdge

public RealEdge(RealPos pos)

RealEdge

public RealEdge(Rcvr receiver)
Method Detail

position

public RealPos position()

actualHashForEqual

public int actualHashForEqual()
Description copied from class: Heaper
Defined by subclasses to produce the value returned by hashForEqual.

Overrides:
actualHashForEqual in class TransitionEdge

follows

public abstract boolean follows(Position pos)
Description copied from class: TransitionEdge
Whether the position is strictly less than this edge

Specified by:
follows in class TransitionEdge

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 TransitionEdge

isFollowedBy

public abstract boolean isFollowedBy(TransitionEdge next)
Description copied from class: TransitionEdge
Whether there is precisely one position between this edge and the next one

Specified by:
isFollowedBy in class TransitionEdge

isGE

public abstract boolean isGE(TransitionEdge other)
Description copied from class: TransitionEdge
Defines a full ordering among all edges in a given CoordinateSpace

Specified by:
isGE in class TransitionEdge

touches

public boolean touches(TransitionEdge other)
Description copied from class: TransitionEdge
Whether this edge touches the same position the other does

Specified by:
touches in class TransitionEdge

printTransitionOn

public abstract void printTransitionOn(java.io.PrintWriter oo,
                                       boolean entering,
                                       boolean touchesPrevious)
Description copied from class: TransitionEdge
Print a description of this transition

Specified by:
printTransitionOn in class TransitionEdge

sendSelfTo

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


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