This commit is contained in:
@@ -28,16 +28,6 @@ public class IntList {
|
||||
return idx;
|
||||
}
|
||||
|
||||
public IntList getReversed() {
|
||||
IntList reverse = new IntList(new int[idx]);
|
||||
|
||||
for (int i = idx - 1; i >= 0; i--) {
|
||||
reverse.put(list[i]);
|
||||
}
|
||||
|
||||
return reverse;
|
||||
}
|
||||
|
||||
public int get(int index) {
|
||||
return list[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user