|
||||||||||
| 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<T>
public abstract class NumberPointer<T>
Native number represents pointers of native primitive numeric values. E.g int. This allows the user to work with primitive values returned in a pointer or by reference.
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
NumberPointer(InstancePointer pInstance)
|
|
NumberPointer(InstancePointer pointer,
boolean b)
|
|
| Method Summary | |
|---|---|
byte |
byteValue()
Returns the value of the specified number as a byte. |
abstract double |
doubleValue()
Returns the value of the specified number as a double. |
abstract float |
floatValue()
Returns the value of the specified number as a float. |
abstract T |
get()
|
abstract int |
intValue()
Returns the value of the specified number as an int. |
abstract long |
longValue()
Returns the value of the specified number as a long. |
abstract NumberPointer<T> |
next()
|
abstract void |
set(T value)
Sets the value of the native number |
short |
shortValue()
Returns the value of the specified number as a short. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
delete, disconnectFromNativeObject, equals, finalize, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NumberPointer(InstancePointer pInstance)
public NumberPointer(InstancePointer pointer,
boolean b)
| Method Detail |
|---|
public byte byteValue()
byte. This
may involve rounding or truncation.
byte.public abstract double doubleValue()
double.
This may involve rounding.
double.public abstract float floatValue()
float.
This may involve rounding.
float.public abstract T get()
public abstract int intValue()
int. This
may involve rounding or truncation.
int.public abstract long longValue()
long. This
may involve rounding or truncation.
long.public abstract void set(T value)
value - the value to set.public short shortValue()
short.
This may involve rounding or truncation.
short.public abstract NumberPointer<T> next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||