Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
--- /dev/null
+
+public interface Compactable {
+
+ public void compacter(int nElements);
+
+}
}
}
+ public void compacter(int nElements) {
+
+ }
+
}
-class Image extends Forme {
+class Image extends Forme implements Compactable {
final int IMAGE_MAX_SIZE = 100;
Forme[] formeCollection;
int formeNumber;
}
}
+ public void compacter(int nElements) {
+
+ }
+
}
}
}
+ public void compacter(int nElements) {
+
+ }
+
}
# NAME = Camilo Juan
CLASSES = \
+ Compactable.java \
Affichable.java \
Structure.java \
Point.java \
-public abstract class Structure implements Affichable {
+public abstract class Structure implements Affichable, Compactable {
public abstract boolean inserer(int value);
public abstract boolean supprimer(int value);