org.abora.gold.collection.basic
Class IEEE32Array

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.PrimFloatArray
                                |
                                +--org.abora.gold.collection.basic.IEEE32Array

public class IEEE32Array
extends PrimFloatArray


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 IEEE32Array(int count)
           
protected IEEE32Array(int count, int datumSize)
           
protected IEEE32Array(int count, int[] buffer)
           
protected IEEE32Array(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()
          Return the maximum word size that can be stored in this array
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.
 void copyToBuffer(float[] buffer, int size, int count, int start)
           
 Heaper fetchValue(int index)
          Fetch a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass.
 double floatAt(int index)
          Get an actual floating point number
 float iEEE32At(int index)
          Get an actual floating point number
static IEEE32Array make(float[] buffer)
          create an IEEE32Array filled with the data at 'buffer'
static IEEE32Array make(int count)
          create an IEEE32Array filled with zeros
static IEEE32Array make(int size, PrimArray from)
           
static IEEE32Array make(int size, PrimArray from, int sourceOffset)
           
static IEEE32Array make(int size, PrimArray from, int sourceOffset, int count)
           
static IEEE32Array make(int size, PrimArray from, int sourceOffset, int count, int destOffset)
          create an IEEE32Array filled with the indicated data in 'from'
protected  PrimArray makeNew(int size, PrimArray source, int sourceOffset, int count, int destOffset)
           
protected  void printElementOn(int index, java.io.PrintWriter 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 storeAll(Heaper value, int count, int start)
          Set a range of elements to have the same value
 void storeFloat(int index, double value)
          Store a floating point value
 void storeIEEE32(int index, float value)
          Store an actual floating point value
 void storeValue(int index, Heaper value)
          Store a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass.
protected  void subtractData(int myStart, PrimDataArray other, int otherStart, int count)
          Subtract the respective elements of other from this over the given index range.
 
Methods inherited from class org.abora.gold.collection.basic.PrimFloatArray
copyToBuffer, elementsHash, indexOf, indexPast, printElementOn, zeros
 
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, copyElements, copyGrow, copyToBuffer, copyToBuffer, count, elementsEqual, elementsEqual, elementsHash, elementsHash, getValue, indexOf, indexOf, indexOfElements, indexOfElements, indexOfElements, indexOfElements, indexOfElements, indexPast, indexPast, moveTo, outOfBounds, printOn, rangeCheck, size, storage, storeAll, storeAll, storeAll, storeMany, storeMany, storeMany, zeroElements, zeroElements, zeroElements
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, actualHashForEqual, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
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

IEEE32Array

protected IEEE32Array(int count,
                      int datumSize)

IEEE32Array

protected IEEE32Array(int count)

IEEE32Array

protected IEEE32Array(int size,
                      PrimArray from,
                      int sourceOffset,
                      int count,
                      int destOffset)

IEEE32Array

protected IEEE32Array(int count,
                      int[] buffer)
Method Detail

make

public static IEEE32Array make(int count)
create an IEEE32Array filled with zeros


make

public static IEEE32Array make(int size,
                               PrimArray from,
                               int sourceOffset,
                               int count,
                               int destOffset)
create an IEEE32Array filled with the indicated data in 'from'


make

public static IEEE32Array make(int size,
                               PrimArray from,
                               int sourceOffset,
                               int count)

make

public static IEEE32Array make(int size,
                               PrimArray from,
                               int sourceOffset)

make

public static IEEE32Array make(int size,
                               PrimArray from)

make

public static IEEE32Array make(float[] buffer)
create an IEEE32Array filled with the data at 'buffer'


storeIEEE32

public void storeIEEE32(int index,
                        float value)
Store an actual floating point value


iEEE32At

public float iEEE32At(int index)
Get an actual floating point number


storeFloat

public void storeFloat(int index,
                       double value)
Description copied from class: PrimFloatArray
Store a floating point value

Overrides:
storeFloat in class PrimFloatArray

floatAt

public double floatAt(int index)
Description copied from class: PrimFloatArray
Get an actual floating point number

Overrides:
floatAt in class PrimFloatArray

storeValue

public void storeValue(int index,
                       Heaper value)
Description copied from class: PrimArray
Store a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass. It is expected that most PrimArray clients will want to use less abstract access methods

Overrides:
storeValue in class PrimFloatArray

fetchValue

public Heaper fetchValue(int index)
Description copied from class: PrimArray
Fetch a value; may be a Heaper, NULL, or a PrimValue as appropriate to PrimArray subclass. It is expected that most PrimArray clients will want to use less abstract access methods.

Overrides:
fetchValue in class PrimFloatArray

spec

public PrimSpec spec()
Description copied from class: PrimArray
A description of the kinds of things which can be stored in this array

Overrides:
spec in class PrimFloatArray

bitCount

public int bitCount()
Return the maximum word size that can be stored in this array

Overrides:
bitCount in class PrimFloatArray

storeAll

public void storeAll(Heaper value,
                     int count,
                     int start)
Description copied from class: PrimArray
Set a range of elements to have the same value

Overrides:
storeAll in class PrimFloatArray

copyToBuffer

public void copyToBuffer(float[] buffer,
                         int size,
                         int count,
                         int start)

compareData

protected int compareData(int myStart,
                          PrimDataArray other,
                          int otherStart,
                          int count)
Description copied from class: PrimDataArray
over given range, returns - if this < other; 0 if this == other; + if this > other.

Overrides:
compareData in class PrimFloatArray

signOfNonZeroAfter

protected int signOfNonZeroAfter(int start)
Description copied from class: PrimDataArray
return the sign of the next non-zero element after start, or 0 if no such element. Note that for the unsigned arrays, this will only return 0 or 1.

Overrides:
signOfNonZeroAfter in class PrimFloatArray

addData

protected void addData(int myStart,
                       PrimDataArray other,
                       int otherStart,
                       int count)
Description copied from class: PrimDataArray
Add the respective elements of other to this over the given index range.

Overrides:
addData in class PrimFloatArray

subtractData

protected void subtractData(int myStart,
                            PrimDataArray other,
                            int otherStart,
                            int count)
Description copied from class: PrimDataArray
Subtract the respective elements of other from this over the given index range.

Overrides:
subtractData in class PrimFloatArray

printElementOn

protected void printElementOn(int index,
                              java.io.PrintWriter oo)
Overrides:
printElementOn in class PrimArray

makeNew

protected PrimArray makeNew(int size,
                            PrimArray source,
                            int sourceOffset,
                            int count,
                            int destOffset)
Overrides:
makeNew in class PrimFloatArray


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.