Toto
This commit is contained in:
commit
c0589ccb2a
@ -26,7 +26,7 @@ public class MaMemoire implements Memoire {
|
|||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public int size(){
|
public int size(){
|
||||||
return (this.index+1);
|
return (this.index+1000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -70,6 +70,7 @@ public class MaMemoire implements Memoire {
|
|||||||
public String remove (){
|
public String remove (){
|
||||||
if (this.index == 0) return "non";
|
if (this.index == 0) return "non";
|
||||||
this.index--;
|
this.index--;
|
||||||
|
this.index += 1000000;
|
||||||
return this.mem[this.index];
|
return this.mem[this.index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user