|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.kenai.jaffl.struct.Struct.NumberField
com.kenai.jaffl.struct.Struct.Float
public class Struct.Float
Constructor Summary | |
---|---|
Struct.Float()
|
|
Struct.Float(Struct.Offset offset)
Creates a new float field at a specific offset |
Method Summary | |
---|---|
double |
doubleValue()
Returns an float representation of this Number. |
float |
floatValue()
Returns an float representation of this Number. |
float |
get()
|
int |
intValue()
|
long |
longValue()
Returns an long representation of this Number. |
void |
set(float value)
|
void |
set(Number value)
Sets the field to a new value. |
String |
toString()
Returns a string representation of this Address . |
Methods inherited from class com.kenai.jaffl.struct.Struct.NumberField |
---|
getMemoryIO, offset, struct |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Struct.Float()
public Struct.Float(Struct.Offset offset)
offset
- The offset within the memory area for this field.Method Detail |
---|
public final float get()
public final void set(float value)
public void set(Number value)
Struct.NumberField
set
in class Struct.NumberField
value
- The new value.public final int intValue()
intValue
in class Number
public final double doubleValue()
Struct.NumberField
float
representation of this Number.
doubleValue
in class Struct.NumberField
float
value for this Number.public final float floatValue()
Struct.NumberField
float
representation of this Number.
floatValue
in class Struct.NumberField
float
value for this Number.public final long longValue()
Struct.NumberField
long
representation of this Number.
longValue
in class Struct.NumberField
long
value for this Number.public final String toString()
Struct.NumberField
Address
.
toString
in class Struct.NumberField
Address
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |