public class FloatValue extends Number implements Value<FloatValue>
| Constructor and Description |
|---|
FloatValue() |
FloatValue(float value) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Value<FloatValue> other)
Assign a new value to this object
|
int |
compareTo(FloatValue obj) |
FloatValue |
copy() |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
read(RandomAccessInput in) |
String |
toString() |
Float |
value() |
void |
value(float value) |
ValueType |
valueType() |
void |
write(RandomAccessOutput out) |
byteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckAssign, stringpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic Float value()
value in interface Value<FloatValue>public void value(float value)
public ValueType valueType()
valueType in interface Value<FloatValue>public void assign(Value<FloatValue> other)
Valueassign in interface Value<FloatValue>public FloatValue copy()
copy in interface Value<FloatValue>public void read(RandomAccessInput in) throws IOException
read in interface ReadableIOExceptionpublic void write(RandomAccessOutput out) throws IOException
write in interface WritableIOExceptionpublic int compareTo(FloatValue obj)
compareTo in interface Comparable<FloatValue>Copyright © 2020–2021. All rights reserved.