mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-20 04:24:13 +00:00
perf[lambda]: generic class type specifications
This commit is contained in:
@@ -14,8 +14,8 @@ import java.lang.reflect.Proxy;
|
||||
* @author veione
|
||||
* @version 1.0
|
||||
*/
|
||||
public final class LambdaUtils {
|
||||
private static final ConcurrentReferenceHashMap<Class, LambdaMeta> CACHE = new ConcurrentReferenceHashMap<>(64, 0.75F, 16, ConcurrentReferenceHashMap.ReferenceType.SOFT);
|
||||
public abstract class LambdaUtils {
|
||||
private static final ConcurrentReferenceHashMap<Class<?>, LambdaMeta> CACHE = new ConcurrentReferenceHashMap<>(64, 0.75F, 16, ConcurrentReferenceHashMap.ReferenceType.SOFT);
|
||||
|
||||
/**
|
||||
* 该缓存可能会在任意不定的时间被清除
|
||||
|
||||
Reference in New Issue
Block a user