public abstract class TP1
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
TP1()
Constructeur privé.
|
Modifier and Type | Method and Description |
---|---|
static Iteration |
fibo()
Suite de Fibonacci.
|
private static <T> T |
get(T[] t,
int n,
T def)
Lecture dans un tableau avec valeur par défaut.
|
static Iteration |
helloWorld()
Bonjour le monde.
|
static void |
main(java.lang.String[] args)
Fonction principale.
|
static Iteration |
noop()
Programme vide.
|
(package private) static Iteration |
select(java.lang.String[] args)
Choix du programme selon les arguments de la ligne de commande.
|
public static Iteration noop()
public static Iteration helloWorld()
public static Iteration fibo()
private static <T> T get(T[] t, int n, T def)
static Iteration select(java.lang.String[] args)
public static void main(java.lang.String[] args)
Iteration
selon les arguments de la
ligne de commande, puis l’exécute :
helloWorld()
fibo()