|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openfast.ScalarValue
org.openfast.NumericValue
org.openfast.template.LongValue
public class LongValue
| Field Summary | |
|---|---|
long |
value
|
| Fields inherited from class org.openfast.ScalarValue |
|---|
NULL, UNDEFINED |
| Constructor Summary | |
|---|---|
LongValue(long value)
LongValue Constructor |
|
| Method Summary | |
|---|---|
NumericValue |
add(NumericValue addend)
Adds two Numeric Values values and creates a new LongValue with the new value |
NumericValue |
decrement()
Decrement 'value' and create a new LongValue with the new value |
boolean |
equals(int value)
Finds if the passed value is the same as the Value of LongValue |
boolean |
equals(java.lang.Object obj)
Compares a LongValue object with another LongValue object |
boolean |
equalsValue(java.lang.String defaultValue)
Compares a string that is converted to an integer to the value of LogValue |
int |
hashCode()
|
NumericValue |
increment()
Increment 'value' and create a new LongValue with the new value |
java.lang.String |
serialize()
|
NumericValue |
subtract(NumericValue subend)
Subtracts two NumericValues values and creates a new LongValue with the new value |
int |
toInt()
|
long |
toLong()
|
java.lang.String |
toString()
|
| Methods inherited from class org.openfast.ScalarValue |
|---|
copy, getBytes, isNull, isUndefined, toBigDecimal, toByte, toDouble, toShort |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final long value
| Constructor Detail |
|---|
public LongValue(long value)
value - The value of the LongValue as type long| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare to
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equalsValue(java.lang.String defaultValue)
equalsValue in class ScalarValuedefaultValue - The string to be convereted to an integer and compared
public NumericValue increment()
increment in class NumericValuepublic NumericValue decrement()
decrement in class NumericValuepublic java.lang.String toString()
toString in class ScalarValuepublic NumericValue subtract(NumericValue subend)
subtract in class NumericValuesubend - The NumericValue to be subtracted
public NumericValue add(NumericValue addend)
add in class NumericValueaddend - The NumericValue to be added
public java.lang.String serialize()
public boolean equals(int value)
equals in class NumericValuevalue - The integer to be compared
public long toLong()
toLong in class NumericValuepublic int toInt()
toInt in class NumericValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||