diff --git a/GIT/MaMemoire.java b/GIT/MaMemoire.java index 4dab60d..f2a7c03 100644 --- a/GIT/MaMemoire.java +++ b/GIT/MaMemoire.java @@ -26,7 +26,7 @@ public class MaMemoire implements Memoire { * @return int */ public int size(){ - return (this.index+1); + return (this.index+1000000); } /** @@ -70,6 +70,7 @@ public class MaMemoire implements Memoire { public String remove (){ if (this.index == 0) return "non"; this.index--; + this.index += 1000000; return this.mem[this.index]; }