|
||||||||||
| 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.Float>
org.xbig.base.FloatPointer
public class FloatPointer
Represents a pointer or reference to a native float value.
NumberPointer| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
FloatPointer(float value)
Create native variable and initialise it. |
|
FloatPointer(InstancePointer pInstance)
|
|
FloatPointer(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.Float |
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. |
FloatPointer |
next()
|
void |
set(java.lang.Float 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 FloatPointer(InstancePointer pInstance)
public FloatPointer(InstancePointer pointer,
boolean b)
public FloatPointer(float 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.Float>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.Float>float.NumberPointer.floatValue()public java.lang.Float get()
get in class NumberPointer<java.lang.Float>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.Float>int.NumberPointer.intValue()public long longValue()
NumberPointerlong. This
may involve rounding or truncation.
longValue in class NumberPointer<java.lang.Float>long.NumberPointer.longValue()public FloatPointer next()
next in class NumberPointer<java.lang.Float>NumberPointer.next()public void set(java.lang.Float value)
NumberPointer
set in class NumberPointer<java.lang.Float>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 | |||||||||