public class IntValue extends Number implements Value.Tvalue<Integer>
Value.CustomizeValue<T>, Value.Tvalue<T>| Modifier and Type | Method and Description |
|---|---|
void |
assign(Value other)
Assign a new value to this object
|
int |
compareTo(Value obj) |
IntValue |
copy() |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isNumber() |
long |
longValue() |
void |
read(RandomAccessInput in) |
String |
toString() |
Integer |
value() |
void |
value(int 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 Integer value()
value in interface Valuevalue in interface Value.Tvalue<Integer>public void value(int value)
public ValueType valueType()
public void assign(Value other)
Valuepublic IntValue copy()
public void read(RandomAccessInput in) throws IOException
read in interface ReadableIOExceptionpublic void write(RandomAccessOutput out) throws IOException
write in interface WritableIOExceptionpublic int compareTo(Value obj)
compareTo in interface Comparable<Value>Copyright © 2020–2021. All rights reserved.