|
||||||||
| 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
A specification of a kind of primitive data type which can be stored in PrimArrays. It
gives you protocol for creating and copying PrimArrays. The class and characteristics of
this object determine what kind of things are stored there, and how much precision they
have.
| Field Summary | |
protected Category |
myClass
|
protected static PrimFloatSpec |
TheIEEE32Spec
|
protected static PrimFloatSpec |
TheIEEE64Spec
|
protected static PrimIntegerSpec |
TheInt32Spec
|
protected static PrimIntegerSpec |
TheIntegerVarSpec
|
protected static PrimPointerSpec |
ThePtrSpec
|
protected static PrimPointerSpec |
TheSharedPtrSpec
|
protected static PrimIntegerSpec |
TheUInt32Spec
|
protected static PrimIntegerSpec |
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 | |
PrimSpec(Category primClass)
|
|
PrimSpec(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
PrimArray |
array()
|
PrimArray |
array(int count)
Make an array initialized to some reasonable zero value |
Category |
arrayClass()
|
PrimArray |
arrayFromBuffer(int count,
VoidStar buffer)
Make an array with the values at the given address |
PrimArray |
arrayWith(Heaper value)
Make a single element array containing the given value |
PrimArray |
arrayWithThree(Heaper value,
Heaper other,
Heaper another)
Make a two element array containing the given values |
PrimArray |
arrayWithTwo(Heaper value,
Heaper other)
Make a two element array containing the given values |
PrimArray |
copy(PrimArray array)
|
PrimArray |
copy(PrimArray array,
int count)
|
PrimArray |
copy(PrimArray array,
int count,
int start)
|
PrimArray |
copy(PrimArray array,
int count,
int start,
int before)
|
PrimArray |
copy(PrimArray array,
int count,
int start,
int before,
int after)
Make a copy of an array with a different representation size. |
PrimArray |
copyGrow(PrimArray array,
int after)
Make a copy of the array into a larger array. |
static PrimFloatSpec |
iEEE(int precision)
|
static PrimFloatSpec |
iEEE32()
|
static PrimFloatSpec |
iEEE64()
|
static void |
info()
{PrimArray CLIENT} arrayFromBuffer: count {Int32} with: buffer {void star} {PrimArray CLIENT} arrayWith: value {Heaper} {PrimArray CLIENT} arrayWithThree: value {Heaper} with: other {Heaper} with: another {Heaper} {PrimArray CLIENT} arrayWithTwo: value {Heaper} with: other {Heaper} {Int32 CLIENT} sizeofElement |
static void |
initSpecs()
moved from initTime because MS C++/NT does not like large initTimes |
static void |
initTimeNonInherited()
|
static PrimIntegerSpec |
int32()
|
static PrimIntegerSpec |
integerVar()
|
static void |
linkTimeNonInherited()
|
static PrimPointerSpec |
pointer()
A spec for pointers to object |
PrimArray |
privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
Support for copy:with:with:with:with: |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
static PrimPointerSpec |
sharedPointer()
|
static PrimIntegerSpec |
signedInteger(int bitCount)
|
int |
sizeofElement()
Essential. |
static PrimIntegerSpec |
toHold(IntegerVar value)
The least demanding spec that will hold the given value |
static PrimIntegerSpec |
uInt32()
|
static PrimIntegerSpec |
uInt8()
|
static PrimIntegerSpec |
unsignedInteger(int bitCount)
|
| 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 Category myClass
protected static PrimFloatSpec TheIEEE32Spec
protected static PrimFloatSpec TheIEEE64Spec
protected static PrimIntegerSpec TheInt32Spec
protected static PrimIntegerSpec TheIntegerVarSpec
protected static PrimPointerSpec ThePtrSpec
protected static PrimPointerSpec TheSharedPtrSpec
protected static PrimIntegerSpec TheUInt32Spec
protected static PrimIntegerSpec TheUInt8Spec
| Constructor Detail |
public PrimSpec(Category primClass)
public PrimSpec(Rcvr receiver)
| Method Detail |
public PrimArray privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
public PrimArray array()
public PrimArray copy(PrimArray array)
public PrimArray copy(PrimArray array,
int count)
public PrimArray copy(PrimArray array,
int count,
int start)
public PrimArray copy(PrimArray array,
int count,
int start,
int before)
public Category arrayClass()
public PrimArray array(int count)
public PrimArray arrayFromBuffer(int count,
VoidStar buffer)
public PrimArray arrayWith(Heaper value)
public PrimArray arrayWithThree(Heaper value,
Heaper other,
Heaper another)
public PrimArray arrayWithTwo(Heaper value,
Heaper other)
public PrimArray copy(PrimArray array,
int count,
int start,
int before,
int after)
public PrimArray copyGrow(PrimArray array,
int after)
public int sizeofElement()
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaperpublic static void initSpecs()
public static void initTimeNonInherited()
public static void linkTimeNonInherited()
public static PrimFloatSpec iEEE32()
public static PrimFloatSpec iEEE64()
public static PrimFloatSpec iEEE(int precision)
public static PrimIntegerSpec int32()
public static PrimIntegerSpec integerVar()
public static PrimPointerSpec pointer()
public static PrimPointerSpec sharedPointer()
public static PrimIntegerSpec signedInteger(int bitCount)
public static PrimIntegerSpec toHold(IntegerVar value)
public static PrimIntegerSpec uInt32()
public static PrimIntegerSpec uInt8()
public static PrimIntegerSpec unsignedInteger(int bitCount)
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||