генератор плоской карты
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user