public abstract class WithCacheFactory extends Object implements FactoryBase
TypeInfoFactory implementation with cache. The exact
characteristic if the factory depends on the characteristic of map backend created via createTypeCache()
This factory is serializable, but none of its cached objects will be serialized.
EMPTY_ARRAY, GLOBAL, NO_CACHE| Constructor and Description |
|---|
WithCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
TypeInfo |
create(Class<?> clazz) |
TypeInfo |
create(TypeVariable<?> typeVariable) |
protected abstract <K,V> Map<K,V> |
createTypeCache() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachParam, create, create, create, toArrayassociate, attachParam, create, createArray, createList, get, getConsolidationMapping, getOrElse, matchPredefinedprotected abstract <K,V> Map<K,V> createTypeCache()
public TypeInfo create(Class<?> clazz)
create in interface TypeInfoFactorypublic TypeInfo create(TypeVariable<?> typeVariable)
create in interface TypeInfoFactoryCopyright © 2025 HtmlUnit. All rights reserved.