cours_progra/q2/algo/tp8/AdditiveArrayList.java

10 lines
194 B
Java
Raw Permalink Normal View History

2023-05-05 13:02:58 +02:00
import java.util.Arrays;
public class AdditiveArrayList<T> extends MyArrayList<T>{
public void makeSpaceIfNeeded(){
if(T1.length == size){
T[] temp = Arrays.newInstance(size-1);
}
}
}