|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.spaces.basic.OrderSpec
[documentation note: we need to hide the documentation about partial orders, but still
warn that the orders may become partial]. An OrderSpec for a given coordinate space
represents a partial ordering of all the Positions of that coordinate space. The
fundamental ordering relationship is "follows". The response of Positions to isGE defines
the natural, "ascending" partial order among the positions. Every coordinate space will
have at least this ascending and the corresponding descending OrderSpecs. OrderSpecs are
useful to specify in what order a stepper produced for stepping over positions should do
so.
| Field Summary |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
OrderSpec(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
Arrangement |
arrange(XnRegion region)
Return an Arrangement of the positions in region according to the ordering of the receiver. |
static OrderSpec |
ascending(CoordinateSpace cs)
Use CoordinateSpace::fetch/getAscending |
OrderEnum |
compare(Position x,
Position y)
Say what the relative ordering relationship is between x and y |
CoordinateSpace |
coordinateSpace()
Essential. |
static OrderSpec |
descending(CoordinateSpace cs)
Use CoordinateSpace::fetch/getDescending |
PrimArray |
export()
|
boolean |
follows(Position x,
Position y)
Essential. |
boolean |
followsInt(IntegerVar x,
IntegerVar y)
See discussion in XuInteger class comment about boxed vs unboxed integers |
static void |
info()
{CoordinateSpace CLIENT} coordinateSpace {BooleanVar CLIENT} follows: x {Position} with: y {Position} {OrderSpec CLIENT} reversed |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
void |
isFullOrder()
|
boolean |
isFullOrder(XnRegion keys)
Essential. |
boolean |
preceeds(XnRegion before,
XnRegion after)
Return true if some position in before is less than or equal to all positions in after. |
OrderSpec |
reversed()
Returns an OrderSpec representing the mirror image of my ordering. o->follows(a, b) iff o->reverse()->follows(b, a) |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OrderSpec(Rcvr receiver)
| Method Detail |
public void isFullOrder()
public int actualHashForEqual()
actualHashForEqual in class Heaper
public OrderEnum compare(Position x,
Position y)
public boolean follows(Position x,
Position y)
public boolean followsInt(IntegerVar x,
IntegerVar y)
public boolean isEqual(Heaper other)
Heaper
isEqual in class Heaperpublic boolean isFullOrder(XnRegion keys)
public boolean preceeds(XnRegion before,
XnRegion after)
public Arrangement arrange(XnRegion region)
public CoordinateSpace coordinateSpace()
public OrderSpec reversed()
public PrimArray export()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaperpublic static OrderSpec ascending(CoordinateSpace cs)
public static OrderSpec descending(CoordinateSpace cs)
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||