This commit is contained in:
2025-04-29 17:51:52 +03:00
parent 9e95d7d514
commit 86ef6a2f43
21 changed files with 1272 additions and 0 deletions

21
test/ListInterface.java Normal file
View File

@@ -0,0 +1,21 @@
public interface ListInterface<T>{
public void add(T newEntry);
public void add(int newPosition, T newEntry);
public T remove(int givenPosition);
public void clear();
public T replace(int givenPosition, T newEntry);
public T getEntry(int givenPosition);
public T[] toArray();
public boolean contains(T anEntry);
public int getLenght();
public boolean isEmpty();
}