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 boolean
equals(Object o)
CacheType<?>
getComponentType()
The component type in case of an arrayString
getTypeName()
Java language compatible type nameint
hashCode()
boolean
isArray()
This type is an array.
-
-
-
Constructor Detail
-
OfArray
public OfArray(CacheType<?> componentType)
-
-
Method Detail
-
isArray
public boolean isArray()
Description copied from interface:CacheType
This type is an array. To analyze a multidimensional array descend to the component, for examplegetComponentType().isArray()
.- Specified by:
isArray
in interfaceCacheType<Void>
- See Also:
CacheType.getComponentType()
-
getComponentType
public CacheType<?> getComponentType()
Description copied from interface:CacheType
The component type in case of an array- Specified by:
getComponentType
in interfaceCacheType<Void>
-
getTypeName
public String getTypeName()
Description copied from interface:CacheType
Java language compatible type name
-
-