|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectCalcolatoreNumericoEratostene
public class CalcolatoreNumericoEratostene
calcolatore numerico - aggiornamento
| Constructor Summary | |
|---|---|
CalcolatoreNumericoEratostene()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
metodo main() di prova |
static boolean |
primo(int n)
verifica se un numero intero positivo n e' primo, usando l'algoritmo detto "Crivello di Eratostene". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalcolatoreNumericoEratostene()
| Method Detail |
|---|
public static boolean primo(int n)
n - il numero su cui viene effettuata la verifica
java.lang.IllegalArgumentException
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||