added todo

This commit is contained in:
Willem Cazander 2022-10-15 17:02:14 +02:00
parent 21dae2357b
commit 023710722c

View file

@ -1,7 +1,7 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.WeakHashMap;
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock;
@ -13,7 +13,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注;
public interface BãßBȍőn<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> { public interface BãßBȍőn<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> {
static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final Map<Object, BãßBȍőnCoffinʸᴰ<?>> GRAVE_YARD = new HashMap<>(); private static final Map<Object, BãßBȍőnCoffinʸᴰ<?>> GRAVE_YARD = new WeakHashMap<>(); // TODO: test bean gc
private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock(); private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock();
@SafeVarargs @SafeVarargs