feat(collection): add MyList interface

This commit is contained in:
2026-08-22 12:00:50 +04:00
parent 6401d638eb
commit ba117ae21e
@@ -0,0 +1,16 @@
package ru.project.collection;
public interface MyList<T> {
void add(T element);
T get(int index);
T set(int index, T element);
T remove(int index);
int size();
boolean isEmpty();
}