|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number net.lucidviews.util.VariableNumber net.lucidviews.util.VariableLong
public class VariableLong
A number object holding a variable long integer value.
VariableNumber
,
Serialized FormField Summary | |
---|---|
private long |
value
The underlying value. |
Constructor Summary | |
---|---|
VariableLong(long value)
Create a variable number to hold a long value. |
|
VariableLong(Number value)
Create a variable number to hold a long value. |
Method Summary | |
---|---|
double |
doubleValue()
|
boolean |
equals(Object obj)
|
float |
floatValue()
|
int |
hashCode()
|
int |
intValue()
|
long |
longValue()
|
protected void |
setValueInternal(double value)
An internal set command. |
protected void |
setValueInternal(float value)
An internal set command. |
protected void |
setValueInternal(int value)
An internal set command. |
protected void |
setValueInternal(long value)
An internal set command. |
String |
toString()
|
Methods inherited from class net.lucidviews.util.VariableNumber |
---|
isSecure, secure, setValue, setValue, setValue, setValue, setValue, setValue, setValueInternal, setValueInternal, verifyNotSecure |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private long value
Constructor Detail |
---|
public VariableLong(long value)
value
- the initial valuepublic VariableLong(Number value)
value
- the initial value
NullPointerException
- if the initial value is null
Method Detail |
---|
protected void setValueInternal(int value)
VariableNumber
setValueInternal
in class VariableNumber
value
- the new value for this numberprotected void setValueInternal(long value)
VariableNumber
setValueInternal
in class VariableNumber
value
- the new value for this numberprotected void setValueInternal(float value)
VariableNumber
setValueInternal
in class VariableNumber
value
- the new value for this numberprotected void setValueInternal(double value)
VariableNumber
setValueInternal
in class VariableNumber
value
- the new value for this numberpublic int intValue()
intValue
in class Number
public long longValue()
longValue
in class Number
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |