|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Number
net.lucidviews.util.VariableNumber
net.lucidviews.util.VariableLong
A number object holding a variable long integer value.
VariableNumber,
Serialized Form| Field Summary | |
private long |
value
The underlying value. |
| Fields inherited from class net.lucidviews.util.VariableNumber |
|
| Fields inherited from class java.lang.Number |
|
| Constructor Summary | |
VariableLong(long value)
Create a variable number to hold a long value. |
|
VariableLong(java.lang.Number value)
Create a variable number to hold a long value. |
|
| Method Summary | |
double |
doubleValue()
|
boolean |
equals(java.lang.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. |
java.lang.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(java.lang.Number value)
value - the initial value
java.lang.NullPointerException - if the initial value is null| Method Detail |
protected void setValueInternal(int value)
VariableNumber
setValueInternal in class VariableNumbervalue - the new value for this numberprotected void setValueInternal(long value)
VariableNumber
setValueInternal in class VariableNumbervalue - the new value for this numberprotected void setValueInternal(float value)
VariableNumber
setValueInternal in class VariableNumbervalue - the new value for this numberprotected void setValueInternal(double value)
VariableNumber
setValueInternal in class VariableNumbervalue - the new value for this numberpublic int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||