Package org.apache.commons.beanutils
Class WrapDynaClass.CacheKey
- java.lang.Object
-
- org.apache.commons.beanutils.WrapDynaClass.CacheKey
-
- Enclosing class:
- WrapDynaClass
private static class WrapDynaClass.CacheKey extends java.lang.Object
A class representing the combined key for the cache ofWrapDynaClass
instances. A single key consists of a bean class and an instance ofPropertyUtilsBean
. Instances are immutable.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
beanClass
The bean class.private PropertyUtilsBean
propUtils
The instance of PropertyUtilsBean.
-
Constructor Summary
Constructors Constructor Description CacheKey(java.lang.Class<?> beanCls, PropertyUtilsBean pu)
Creates a new instance ofCacheKey
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
beanClass
private final java.lang.Class<?> beanClass
The bean class.
-
propUtils
private final PropertyUtilsBean propUtils
The instance of PropertyUtilsBean.
-
-
Constructor Detail
-
CacheKey
public CacheKey(java.lang.Class<?> beanCls, PropertyUtilsBean pu)
Creates a new instance ofCacheKey
.- Parameters:
beanCls
- the bean classpu
- the instance ofPropertyUtilsBean
-
-