Archived
0

генератор плоской карты

This commit is contained in:
2021-07-18 12:15:10 +03:00
parent f280e9beaa
commit ee82930426
14 changed files with 241 additions and 14 deletions

View File

@@ -1,12 +1,12 @@
package mc.utils.pool;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class PassivableMultiObjectPool<T extends Passivable> implements MultiObjectPool<T> {
@SuppressWarnings("rawtypes")
private final Map<Class, ObjectPool> mapPool = new HashMap<>();
private final ConcurrentMap<Class, ObjectPool> mapPool = new ConcurrentHashMap<>();
@SuppressWarnings("unchecked")
@Override