Package org.cache2k.config
Class CacheTypeCapture.OfArray
- java.lang.Object
-
- org.cache2k.config.CacheTypeCapture.OfArray
-
- Enclosing class:
- CacheTypeCapture<T>
public static class CacheTypeCapture.OfArray extends Object
CacheType representing an array.
-
-
Field Summary
-
Fields inherited from interface org.cache2k.config.CacheType
DESCRIPTOR_TO_STRING_PREFIX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CacheType<?>getComponentType()The component type in case of an arrayStringgetTypeName()Java language compatible type nameinthashCode()booleanisArray()This type is an array.
-
-
-
Constructor Detail
-
OfArray
public OfArray(CacheType<?> componentType)
-
-
Method Detail
-
isArray
public boolean isArray()
Description copied from interface:CacheTypeThis type is an array. To analyze a multi dimensional array descend to the component, for examplegetComponentType().isArray().- Specified by:
isArrayin interfaceCacheType<Void>- See Also:
CacheType.getComponentType()
-
getComponentType
public CacheType<?> getComponentType()
Description copied from interface:CacheTypeThe component type in case of an array- Specified by:
getComponentTypein interfaceCacheType<Void>
-
getTypeName
public String getTypeName()
Description copied from interface:CacheTypeJava language compatible type name
-
-