mirror of
https://github.com/Theta-Dev/ConstructionWand.git
synced 2025-09-07 18:30:54 +02:00
15 lines
215 B
Java
15 lines
215 B
Java
package thetadev.constructionwand.basics.pool;
|
|
|
|
import javax.annotation.Nullable;
|
|
|
|
public interface IPool<T>
|
|
{
|
|
void add(T element);
|
|
|
|
void remove(T element);
|
|
|
|
@Nullable
|
|
T draw();
|
|
|
|
void reset();
|
|
}
|