|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--prog.utili.Intero
Le istanze della classe rappresentano numeri interi.
| Constructor Summary | |
Intero(int x)
Costruisce un nuovo oggetto che rappresenta il numero intero fornito tramite l'argomento. |
|
| Method Summary | |
int |
intValue()
Restituisce il valore intero rappresentato dall'oggetto che esegue il metodo. |
java.lang.String |
toString()
Costruisce una stringa contenente il numero rappresentato dall'oggetto che esegue il metodo, espresso in lettere; ad esempio, se l'oggetto che esegue il metodo rappresenta il numero 34, il metodo restituirą la stringa "trentaquattro". |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Intero(int x)
| Method Detail |
public int intValue()
public java.lang.String toString()
"trentaquattro".
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||