|
||||||||
| 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.value.PrimSpec
|
+--org.abora.white.value.PrimFloatSpec
Specifies different precisions and representations of floating point numbers.
| Field Summary | |
protected int |
myBitCount
|
| Fields inherited from class org.abora.white.value.PrimSpec |
arrayClass |
| Constructor Summary | |
protected |
PrimFloatSpec(java.lang.Class arrayClass,
int bitCount)
|
| Method Summary | |
int |
actualHashForEqual()
Defined by subclasses to produce the value returned by hashForEqual. |
PrimArray |
arrayFromBuffer(java.lang.Object buffer)
Make an array with the values at the given address |
int |
bitCount()
Return the total number of bits per value that meets the specification. |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
PrimArray |
privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
Make a copy of an array with a different representation size. |
PrimFloatValue |
value(double number)
A boxed floating point value |
| Methods inherited from class org.abora.white.value.PrimSpec |
array, array, arrayClass, arrayWith, arrayWithThree, arrayWithTwo, copy, copy, copy, copy, copy, copyGrow, iEEE, iEEE32, iEEE64, int16, int32, int64, int8, integerVar, pointer, sharedPointer, signedInteger, toHold, uInt16, uInt32, uInt8, unsignedInteger |
| Methods inherited from class org.abora.white.xpp.basic.Heaper |
destroy, destruct, equals, hashForEqual, printContentsOn, printOn, sendSelfTo, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final int myBitCount
| Constructor Detail |
protected PrimFloatSpec(java.lang.Class arrayClass,
int bitCount)
| Method Detail |
public int bitCount()
public int actualHashForEqual()
Heaper
actualHashForEqual in class PrimSpecpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Heaper
public PrimArray privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
privateCopy in class PrimSpecpublic PrimArray arrayFromBuffer(java.lang.Object buffer)
arrayFromBuffer in class PrimSpecbuffer - Java array containing elements meeting this specification.
public PrimFloatValue value(double number)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||