|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ds.fw.types.FwSimpleObject
|
+--com.ds.fw.types.FwInteger
| Field Summary | |
int |
_value
|
| Constructor Summary | |
FwInteger()
|
|
FwInteger(int i)
|
|
| Method Summary | |
void |
add(int i)
Adds some value to the field _value |
int |
compareTo(java.lang.Object e)
Compares this FwInteger to the specified object |
boolean |
equals(java.lang.Object e)
Compares this FwInteger to the specified object |
int |
getValue()
Gets the value of the field _value |
int |
hashCode()
The same as getValue() |
com.ds.fw.types.FwIntegerIF |
max(com.ds.fw.types.FwIntegerIF i)
Return the greater of two FwInteger (compared by their field _value) |
com.ds.fw.types.FwIntegerIF |
min(com.ds.fw.types.FwIntegerIF i)
Return the less of two FwInteger (compared by their field _value) |
void |
setValue(int o)
Sets the value of the field _value |
void |
subtract(int i)
Substracts a value from the field _value |
java.lang.String |
toStringValue()
Returns the string representation of this FwInteger object |
| Methods inherited from class com.ds.fw.types.FwSimpleObject |
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ds.fw.types.FwSimpleObjectIF |
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, toString |
| Field Detail |
public int _value
| Constructor Detail |
public FwInteger()
public FwInteger(int i)
| Method Detail |
public int getValue()
getValue in interface FwIntegerIFpublic void setValue(int o)
setValue in interface FwIntegerIFo - - the new valuepublic void add(int i)
add in interface FwIntegerIFi - - the value to be addedpublic void subtract(int i)
subtract in interface FwIntegerIFi - - the value to be substractedpublic boolean equals(java.lang.Object e)
equals in class java.lang.Objecte - the object to compare this FwInteger against.
public int compareTo(java.lang.Object e)
compareTo in interface java.lang.Comparablee - the object to compare this FwInteger against.
public int hashCode()
hashCode in class java.lang.ObjectgetValue()public com.ds.fw.types.FwIntegerIF max(com.ds.fw.types.FwIntegerIF i)
max in interface FwIntegerIFi -
public com.ds.fw.types.FwIntegerIF min(com.ds.fw.types.FwIntegerIF i)
min in interface FwIntegerIFi -
public java.lang.String toStringValue()
toStringValue in interface FwSimpleObjectIFtoStringValue in class FwSimpleObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||