|
||||||||
| 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.collection.basic.PrimArray
|
+--org.abora.gold.collection.basic.PrimDataArray
|
+--org.abora.gold.collection.basic.PrimIntegerArray
|
+--org.abora.gold.collection.basic.PrimIntArray
|
+--org.abora.gold.collection.basic.UInt8Array
| Field Summary |
| Fields inherited from class org.abora.gold.collection.basic.PrimArray |
OurGutsCount |
| 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 | |
protected |
UInt8Array(int count,
int[] buffer)
|
protected |
UInt8Array(int size,
PrimArray from,
int sourceOffset,
int count,
int destOffset)
|
| Method Summary | |
protected void |
addData(int myStart,
PrimDataArray other,
int otherStart,
int count)
Add the respective elements of other to this over the given index range. |
int |
bitCount()
|
protected int |
compareData(int myStart,
PrimDataArray other,
int otherStart,
int count)
over given range, returns - if this < other; 0 if this == other; + if this > other. |
protected void |
copyElements(int to,
PrimArray source,
int from,
int count)
subclasses with non-32 bit or other interesting values should override |
void |
copyToBuffer(int[] buffer,
int size,
int count,
int start)
Copy of a piece of this array into the provided buffer with size bytes of space available. |
Heaper |
fetchValue(int index)
Fetch a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass. |
java.lang.String |
gutsOf()
A pointer to the actual string. |
IntegerVar |
integerAt(int index)
Get an actual integer value |
static UInt8Array |
make(int count)
create a UInt8Array filled with zeros |
static UInt8Array |
make(int count,
int[] buffer)
create a UInt8Array filled with the data at 'buffer' |
static UInt8Array |
make(int size,
PrimArray from)
|
static UInt8Array |
make(int size,
PrimArray from,
int sourceOffset)
|
static UInt8Array |
make(int size,
PrimArray from,
int sourceOffset,
int count)
|
static UInt8Array |
make(int size,
PrimArray from,
int sourceOffset,
int count,
int destOffset)
create a UInt8Array filled with the indicated data in 'from' |
protected PrimArray |
makeNew(int size,
PrimArray source,
int sourceOffset,
int count,
int destOffset)
|
void |
noMoreGuts()
|
protected void |
printElementOn(int index,
Stream oo)
|
void |
printOn(Stream oo)
|
protected int |
signOfNonZeroAfter(int start)
return the sign of the next non-zero element after start, or 0 if no such element. |
PrimSpec |
spec()
A description of the kinds of things which can be stored in this array |
void |
storeInteger(int index,
IntegerVar value)
Store an integer value |
void |
storeMany(int to,
PrimArray other,
int count,
int from)
Copy n elements from the other array into this one. |
void |
storeUInt(int index,
int value)
Store a 32 bit unsigned integer value |
void |
storeValue(int index,
Heaper value)
Store a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass. |
static UInt8Array |
string(java.lang.String string)
create a UInt8Array of size strlen(string) filled with the contents of the string (keep the '\0' ?) |
protected void |
subtractData(int myStart,
PrimDataArray other,
int otherStart,
int count)
Subtract the respective elements of other from this over the given index range. |
int |
uIntAt(int index)
Get a 32 bit unsigned actual integer value |
void |
zeroElements(int from,
int count)
|
| Methods inherited from class org.abora.gold.collection.basic.PrimIntArray |
zeros |
| Methods inherited from class org.abora.gold.collection.basic.PrimIntegerArray |
elementsHash, hold, hold, indexOf, indexOfInteger, indexOfInteger, indexOfInteger, indexPast, indexPastInteger, indexPastInteger, indexPastInteger, storeAll |
| Methods inherited from class org.abora.gold.collection.basic.PrimDataArray |
addElements, addElements, addElements, compare, compare, compare, compare, contentsEqual, elementsEqual, subtractElements, subtractElements, subtractElements |
| Methods inherited from class org.abora.gold.collection.basic.PrimArray |
cleanup, contentsHash, copy, copy, copy, copy, copy, copyGrow, copyToBuffer, copyToBuffer, count, elementsEqual, elementsEqual, elementsHash, elementsHash, getValue, indexOf, indexOf, indexOfElements, indexOfElements, indexOfElements, indexOfElements, indexOfElements, indexPast, indexPast, moveTo, outOfBounds, printElementOn, printOn, rangeCheck, size, storage, storeAll, storeAll, storeAll, storeMany, storeMany, zeroElements, zeroElements |
| 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 |
protected UInt8Array(int size,
PrimArray from,
int sourceOffset,
int count,
int destOffset)
protected UInt8Array(int count,
int[] buffer)
| Method Detail |
public static UInt8Array make(int count)
public static UInt8Array make(int size,
PrimArray from,
int sourceOffset,
int count,
int destOffset)
public static UInt8Array make(int size,
PrimArray from,
int sourceOffset,
int count)
public static UInt8Array make(int size,
PrimArray from,
int sourceOffset)
public static UInt8Array make(int size,
PrimArray from)
public static UInt8Array make(int count,
int[] buffer)
public static UInt8Array string(java.lang.String string)
public void storeUInt(int index,
int value)
public int uIntAt(int index)
public void storeInteger(int index,
IntegerVar value)
PrimIntArray
storeInteger in class PrimIntArraypublic IntegerVar integerAt(int index)
PrimIntArray
integerAt in class PrimIntArray
public void storeValue(int index,
Heaper value)
PrimArray
storeValue in class PrimIntArraypublic Heaper fetchValue(int index)
PrimArray
fetchValue in class PrimIntArraypublic PrimSpec spec()
PrimArray
spec in class PrimIntArraypublic int bitCount()
bitCount in class PrimIntArray
public void storeMany(int to,
PrimArray other,
int count,
int from)
PrimArray
storeMany in class PrimArray
public void copyToBuffer(int[] buffer,
int size,
int count,
int start)
PrimArray
copyToBuffer in class PrimIntArray
public void zeroElements(int from,
int count)
zeroElements in class PrimArraypublic void printOn(Stream oo)
public java.lang.String gutsOf()
public void noMoreGuts()
protected int compareData(int myStart,
PrimDataArray other,
int otherStart,
int count)
PrimDataArray
compareData in class PrimIntegerArrayprotected int signOfNonZeroAfter(int start)
PrimDataArray
signOfNonZeroAfter in class PrimIntArray
protected void addData(int myStart,
PrimDataArray other,
int otherStart,
int count)
PrimDataArray
addData in class PrimIntegerArray
protected void subtractData(int myStart,
PrimDataArray other,
int otherStart,
int count)
PrimDataArray
subtractData in class PrimIntegerArray
protected void printElementOn(int index,
Stream oo)
printElementOn in class PrimIntArray
protected void copyElements(int to,
PrimArray source,
int from,
int count)
PrimArray
copyElements in class PrimArray
protected PrimArray makeNew(int size,
PrimArray source,
int sourceOffset,
int count,
int destOffset)
makeNew in class PrimIntArray
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||