|
||||||||
| 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.x.PrimSpec
|
+--org.abora.gold.x.PrimIntegerSpec
| Field Summary | |
protected boolean |
amSigned
|
protected int |
myBitCount
|
protected int |
myMax
|
protected int |
myMin
|
| Fields inherited from class org.abora.gold.x.PrimSpec |
myClass, TheIEEE32Spec, TheIEEE64Spec, TheInt32Spec, TheIntegerVarSpec, ThePtrSpec, TheSharedPtrSpec, TheUInt32Spec, TheUInt8Spec |
| 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 | |
PrimIntegerSpec(Category primClass,
int bitCount,
boolean isSigned)
|
|
PrimIntegerSpec(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
PrimArray |
array(int count)
Make an array initialized to zero values |
PrimArray |
arrayFromBuffer(int count,
VoidStar buffer)
Make an array with the values at the given address |
int |
bitCount()
How many bits, or zero if it is unlimited |
boolean |
canHold(IntegerVar value)
Whether this spec can hold the given value |
PrimIntegerSpec |
combine(PrimIntegerSpec other)
A spec whose range of values contains both ranges |
static void |
info()
{BooleanVar CLIENT} isSigned {Int32 CLIENT} precision {PrimIntegerArray CLIENT} string: string {char star} {PrimInteger CLIENT} value: number {IntegerVar} |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
boolean |
isSigned()
Whether it allows negative values |
int |
precision()
|
PrimArray |
privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
Make a copy of an array with a different representation size. |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
PrimIntegerArray |
string(java.lang.String string)
Make an array the contents of the string |
PrimIntValue |
value(IntegerVar number)
A boxed integer value |
| Methods inherited from class org.abora.gold.x.PrimSpec |
array, arrayClass, arrayWith, arrayWithThree, arrayWithTwo, copy, copy, copy, copy, copy, copyGrow, iEEE, iEEE32, iEEE64, initSpecs, initTimeNonInherited, int32, integerVar, linkTimeNonInherited, pointer, sharedPointer, signedInteger, sizeofElement, toHold, uInt32, uInt8, unsignedInteger |
| 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 |
| Field Detail |
protected int myBitCount
protected boolean amSigned
protected int myMin
protected int myMax
| Constructor Detail |
public PrimIntegerSpec(Category primClass,
int bitCount,
boolean isSigned)
public PrimIntegerSpec(Rcvr receiver)
| Method Detail |
public int bitCount()
public PrimIntegerSpec combine(PrimIntegerSpec other)
public boolean isSigned()
public int actualHashForEqual()
actualHashForEqual in class PrimSpecpublic boolean canHold(IntegerVar value)
public boolean isEqual(Heaper other)
Heaper
isEqual in class Heaperpublic PrimArray array(int count)
array in class PrimSpec
public PrimArray arrayFromBuffer(int count,
VoidStar buffer)
arrayFromBuffer in class PrimSpecpublic PrimIntegerArray string(java.lang.String string)
public PrimIntValue value(IntegerVar number)
public PrimArray privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
privateCopy in class PrimSpecpublic int precision()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class PrimSpecpublic static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||