|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpatron.List
patron.Empty
public class Empty
liste vide.
| Constructor Summary | |
|---|---|
Empty()
constructeur des listes vides. |
|
| Method Summary | |
|---|---|
List |
append(List l)
concatenation. |
boolean |
isEmpty()
teste de la liste vide. |
int |
length()
longueur. |
NotEmpty |
putLast(int e)
ajout a la fin. |
List |
reverse()
inversion. |
java.lang.String |
toString()
redefinition de toString. |
| Methods inherited from class patron.List |
|---|
cons |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Empty()
| Method Detail |
|---|
public final boolean isEmpty()
isEmpty in class Listpublic final int length()
length in class Listpublic final NotEmpty putLast(int e)
putLast in class Liste - l'entier a ajouter
public final List reverse()
reverse in class Listpublic final List append(List l)
append in class Listl - liste a concatener
public final java.lang.String toString()
toString in class List
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||