protected Object readResolve() { if (_annotationsInside == null) { _annotationsInside = new LRUMap<Class<?>,Boolean>(48, 48); } return this; }
protected Object readResolve() { return new LRUMap<Object,Object>(_jdkSerializeMaxEntries, _jdkSerializeMaxEntries); } }
public BasicClassIntrospector() { // a small cache should go a long way here _cachedFCA = new LRUMap<JavaType,BasicBeanDescription>(16, 64); }
public RootNameLookup() { _rootNames = new LRUMap<ClassKey,PropertyName>(20, 200); }
/** * @since 2.8 */ protected TypeFactory(LRUMap<Object,JavaType> typeCache) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; _parser = new TypeParser(this); _modifiers = null; _classLoader = null; }
protected TypeFactory(LRUMap<Object,JavaType> typeCache, TypeParser p, TypeModifier[] mods, ClassLoader classLoader) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; // As per [databind#894] must ensure we have back-linkage from TypeFactory: _parser = p.withFactory(this); _modifiers = mods; _classLoader = classLoader; }
/** * Get the cache of translations from the given source language to target language. * * @param sourceLanguage The source language of translation. * @param targetLanguage The target language of translation. * @return The LRUMap representing the translation cache. */ private LRUMap<String, String> getTranslationCache(String sourceLanguage, String targetLanguage) { LRUMap<String, String> translationCache = cache.get(buildCacheKeyString(sourceLanguage, targetLanguage)); if (translationCache == null) { translationCache = new LRUMap<>(INITIAL_ENTRIES, MAX_ENTRIES); cache.put(buildCacheKeyString(sourceLanguage, targetLanguage), translationCache); } return translationCache; } }
protected Object readResolve() { if (_annotationsInside == null) { _annotationsInside = new LRUMap<Class<?>,Boolean>(48, 48); } return this; }
protected Object readResolve() { if (_annotationsInside == null) { _annotationsInside = new LRUMap<Class<?>,Boolean>(48, 48); } return this; }
protected Object readResolve() { return new LRUMap<Object,Object>(_jdkSerializeMaxEntries, _jdkSerializeMaxEntries); } }
public BasicClassIntrospector() { // a small cache should go a long way here _cachedFCA = new LRUMap<JavaType,BasicBeanDescription>(16, 64); }
public BasicClassIntrospector() { // a small cache should go a long way here _cachedFCA = new LRUMap<JavaType,BasicBeanDescription>(16, 64); }
protected Object readResolve() { return new LRUMap<Object,Object>(_jdkSerializeMaxEntries, _jdkSerializeMaxEntries); } }
public BasicClassIntrospector() { // a small cache should go a long way here _cachedFCA = new LRUMap<JavaType,BasicBeanDescription>(16, 64); }
protected Object readResolve() { return new LRUMap<Object,Object>(_jdkSerializeMaxEntries, _jdkSerializeMaxEntries); } }
protected Object readResolve() { return new LRUMap<Object,Object>(_jdkSerializeMaxEntries, _jdkSerializeMaxEntries); } }
protected TypeFactory(LRUMap<Object,JavaType> typeCache, TypeParser p, TypeModifier[] mods, ClassLoader classLoader) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; // As per [databind#894] must ensure we have back-linkage from TypeFactory: _parser = p.withFactory(this); _modifiers = mods; _classLoader = classLoader; }
protected TypeFactory(LRUMap<Object,JavaType> typeCache, TypeParser p, TypeModifier[] mods, ClassLoader classLoader) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; // As per [databind#894] must ensure we have back-linkage from TypeFactory: _parser = p.withFactory(this); _modifiers = mods; _classLoader = classLoader; }
/** * @since 2.8 */ protected TypeFactory(LRUMap<Object,JavaType> typeCache) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; _parser = new TypeParser(this); _modifiers = null; _classLoader = null; }
/** * @since 2.8 */ protected TypeFactory(LRUMap<Object,JavaType> typeCache) { if (typeCache == null) { typeCache = new LRUMap<Object,JavaType>(16, 200); } _typeCache = typeCache; _parser = new TypeParser(this); _modifiers = null; _classLoader = null; }