public static class CacheTypeCapture.OfGeneric extends Object
DESCRIPTOR_TO_STRING_PREFIX| Constructor and Description |
|---|
OfGeneric()
Empty constructor for bean compliance.
|
OfGeneric(Class<?> type,
CacheType[] typeArguments) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<?> |
getType()
Class type if not an array.
|
CacheType[] |
getTypeArguments()
Known type arguments, if the type is a parametrized type.
|
String |
getTypeName()
Java language compatible type name
|
int |
hashCode() |
boolean |
hasTypeArguments()
The type has generic type parameters and the concrete types are known.
|
void |
setType(Class<?> type) |
void |
setTypeArguments(CacheType[] typeArguments) |
public Class<?> getType()
CacheTypepublic void setType(Class<?> type)
public boolean hasTypeArguments()
CacheTypeCacheType.getTypeArguments() returns the the arguments.hasTypeArguments in interface CacheTypepublic CacheType[] getTypeArguments()
CacheTypegetTypeArguments in interface CacheTypepublic void setTypeArguments(CacheType[] typeArguments)
public String getTypeName()
CacheTypecache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.