PIbd-14_Antonova_A.A.__Hard/CollectionGenericObjects/ICollectionGenericObjects.java
2024-06-10 21:17:02 +04:00

10 lines
264 B
Java

package CollectionGenericObjects;
public interface ICollectionGenericObjects<T>{
int getCount();
void SetMaxCount(int count, Class<T> type);
int Insert(T obj);
int Insert(T obj, int position);
T Remove(int position);
T Get(int position);
}