PIbd-14_Antonova_A.A.__Hard/CollectionGenericObjects/ICollectionGenericObjects.java

10 lines
264 B
Java
Raw Normal View History

2024-06-10 13:56:47 +04:00
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);
}