org.abora.white.value
Class PrimPointerSpec
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.value.PrimSpec
|
+--org.abora.white.value.PrimPointerSpec
- public class PrimPointerSpec
- extends PrimSpec
Describes a kind of primitive pointer array
|
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 |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
protected PrimArray |
privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
Make a copy of an array with a different representation size. |
| 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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrimPointerSpec
protected PrimPointerSpec(java.lang.Class arrayClass)
actualHashForEqual
public int actualHashForEqual()
- Description copied from class:
Heaper
- Defined by subclasses to produce the value returned by hashForEqual.
- Overrides:
actualHashForEqual in class PrimSpec
isEqual
public boolean isEqual(Heaper other)
- Description copied from class:
Heaper
- Return true if the two objects are equal.
- Specified by:
isEqual in class Heaper
privateCopy
protected PrimArray privateCopy(PrimArray array,
int size,
int start,
int count,
int offset)
- Make a copy of an array with a different representation size. The arguments are the same
as in PrimArray::copy.
- Specified by:
privateCopy in class PrimSpec
arrayFromBuffer
public PrimArray arrayFromBuffer(java.lang.Object buffer)
- Make an array with the values at the given address
- Specified by:
arrayFromBuffer in class PrimSpec
- Parameters:
buffer - Java array containing elements meeting this specification.
- Returns:
- the array
Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.