mirror of
https://github.com/Theta-Dev/ConstructionWand.git
synced 2025-08-06 02:45:26 +02:00
11 lines
172 B
Java
11 lines
172 B
Java
package thetadev.constructionwand.basics.pool;
|
|
|
|
import javax.annotation.Nullable;
|
|
|
|
public interface IPool<T>
|
|
{
|
|
void add(T element);
|
|
@Nullable
|
|
T draw();
|
|
void reset();
|
|
}
|