|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.xbig.base.NumberPointer<java.lang.Byte>
org.xbig.base.BytePointer
public class BytePointer
Represents a pointer or reference to a native byte value.
NumberPointer| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
BytePointer(byte value)
Create native variable and initialise it. |
|
BytePointer(InstancePointer pInstance)
|
|
BytePointer(InstancePointer pointer,
boolean b)
|
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
double |
doubleValue()
Returns the value of the specified number as a double. |
boolean |
equals(java.lang.Object obj)
|
void |
finalize()
|
float |
floatValue()
Returns the value of the specified number as a float. |
java.lang.Byte |
get()
|
int |
hashCode()
|
int |
intValue()
Returns the value of the specified number as an int. |
long |
longValue()
Returns the value of the specified number as a long. |
BytePointer |
next()
|
void |
set(java.lang.Byte value)
Sets the value of the native number |
java.lang.String |
toString()
|
| Methods inherited from class org.xbig.base.NumberPointer |
|---|
byteValue, shortValue |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BytePointer(InstancePointer pInstance)
public BytePointer(InstancePointer pointer,
boolean b)
public BytePointer(byte value)
value - Value to initialise native value.| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObjectNativeObject.delete()public double doubleValue()
NumberPointerdouble.
This may involve rounding.
doubleValue in class NumberPointer<java.lang.Byte>double.NumberPointer.doubleValue()public boolean equals(java.lang.Object obj)
equals in class NativeObjectNativeObject.equals(java.lang.Object)public float floatValue()
NumberPointerfloat.
This may involve rounding.
floatValue in class NumberPointer<java.lang.Byte>float.NumberPointer.floatValue()public java.lang.Byte get()
get in class NumberPointer<java.lang.Byte>NumberPointer.get()public int hashCode()
hashCode in class NativeObjectNativeObject.hashCode()public int intValue()
NumberPointerint. This
may involve rounding or truncation.
intValue in class NumberPointer<java.lang.Byte>int.NumberPointer.intValue()public long longValue()
NumberPointerlong. This
may involve rounding or truncation.
longValue in class NumberPointer<java.lang.Byte>long.NumberPointer.longValue()public BytePointer next()
next in class NumberPointer<java.lang.Byte>NumberPointer.next()public void set(java.lang.Byte value)
NumberPointer
set in class NumberPointer<java.lang.Byte>value - the value to set.NumberPointer.set(java.lang.Object)public java.lang.String toString()
toString in class NativeObjectNativeObject.toString()public void finalize()
finalize in class NativeObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||