|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.spaces.basic.CoordinateSpace
|
+--org.abora.white.spaces.integers.IntegerSpace
The space of all integers. See the class comments in IntegerRegion, XuInteger, and IntegerDsp for interesting properties of this space. Especially IntegerRegion. IntegerSpaces are the most frequently used of the coordinate spaces. XuArrays are an efficient data structure which we provide as a table whose domain space is an integer space. In so doing, the notion of an array is made to be simply a particular case of a table indexed by the positions of a coordinate space. However, IntegerSpaces and XuArrays are both expected to be more efficient than other spaces and tables built on other spaces. See XuArray
| Field Summary | |
protected static IntegerSpace |
TheIntegerSpace
|
| Fields inherited from class org.abora.white.spaces.basic.CoordinateSpace |
myAscending, myDescending, myEmptyRegion, myFullRegion, myIdentityDsp |
| Constructor Summary | |
IntegerSpace()
|
|
| Method Summary | |
IntegerRegion |
above(IntegerPos start,
boolean inclusive)
Essential. |
int |
actualHashForEqual()
is equal to any basic space on the same category of positions |
IntegerRegion |
below(IntegerPos stop,
boolean inclusive)
Make a region that contains all integers less than (or equal if inclusive is true) to stop. |
static IntegerSpace |
implicitReceiver()
Get the receievr for wire requests. |
IntegerRegion |
interval(IntegerPos start,
IntegerPos stop)
Make a region that contains all integers greater than or equal to start and less than stop. |
boolean |
isEqual(Heaper anObject)
is equal to any basic space on the same category of positions |
static IntegerSpace |
make()
return the one integer space |
static Heaper |
make(Rcvr rcvr)
|
IntegerPos |
position(IntegerValue value)
Essential. |
void |
sendSelfTo(Xmtr xmtr)
|
IntegerMapping |
translation(IntegerValue value)
Essential. |
| 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 |
protected static IntegerSpace TheIntegerSpace
| Constructor Detail |
public IntegerSpace()
| Method Detail |
public IntegerRegion above(IntegerPos start,
boolean inclusive)
public IntegerRegion below(IntegerPos stop,
boolean inclusive)
public IntegerRegion interval(IntegerPos start,
IntegerPos stop)
public IntegerPos position(IntegerValue value)
public IntegerMapping translation(IntegerValue value)
public int actualHashForEqual()
actualHashForEqual in class CoordinateSpacepublic boolean isEqual(Heaper anObject)
isEqual in class CoordinateSpacepublic void sendSelfTo(Xmtr xmtr)
sendSelfTo in class Heaperpublic static IntegerSpace implicitReceiver()
public static IntegerSpace make()
public static Heaper make(Rcvr rcvr)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||