+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "01/03/2001"
+)
class Cercle extends Forme {
private double rayon;
--- /dev/null
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface ClassPreamble {
+ String author();
+ String date();
+ int currentRevision() default 1;
+ String lastModified() default "N/A";
+ String lastModifiedBy() default "N/A";
+}
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "05/03/2009"
+)
class Entiers extends Structure {
private int int_array[];
private int array_size;
current_size = 0;
}
}
-
}
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "11/17/2008"
+)
public abstract class Forme implements Affichable {
private Point pOri;
import java.util.Comparator;
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "09/11/2009"
+)
public class Image extends Forme implements Compactable,
Comparable<Image>,
Comparator<Image> {
-
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "05/12/2011"
+)
public class Liste extends Structure {
private class IntNode {
# NAME = Camilo Juan
CLASSES = \
+ ClassPreamble.java \
Compactable.java \
Affichable.java \
Structure.java \
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "06/21/2009"
+)
class Piletransformations {
private Point[] transformations;
private int currentTransformation;
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "11/02/2012"
+)
class Point {
private double x;
private double y;
Point() {
/*
- * FIXME: init to (0,0)?
+ * FIXME?: init to (0,0)
*/
}
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "04/25/2014"
+)
class Segment extends Forme {
private Point pDest;
+@ClassPreamble (
+ author = "Jérôme Benoit",
+ date = "05/02/2009"
+)
public abstract class Structure implements Affichable, Compactable {
public abstract boolean inserer(int value);