diff --git a/GIT/MaMemoire.java b/GIT/MaMemoire.java index 11c6c0d..e8ed08b 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); } /** @@ -69,6 +69,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]; }