Class WrapDynaClass.CacheKey

  • Enclosing class:
    WrapDynaClass

    private static class WrapDynaClass.CacheKey
    extends java.lang.Object
    A class representing the combined key for the cache of WrapDynaClass instances. A single key consists of a bean class and an instance of PropertyUtilsBean. 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 of CacheKey.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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 of CacheKey.
        Parameters:
        beanCls - the bean class
        pu - the instance of PropertyUtilsBean
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object