Package net.bytebuddy

Class TypeCache.LookupKey

  • Enclosing class:
    TypeCache<T>

    protected static class TypeCache.LookupKey
    extends java.lang.Object
    A key used for looking up a previously inserted class loader cache.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ClassLoader classLoader
      The referenced class loader.
      private int hashCode
      The class loader's identity hash code.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LookupKey​(java.lang.ClassLoader classLoader)
      Creates a new lookup key.
    • Method Summary

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

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • classLoader

        private final java.lang.ClassLoader classLoader
        The referenced class loader.
      • hashCode

        private final int hashCode
        The class loader's identity hash code.
    • Constructor Detail

      • LookupKey

        protected LookupKey​(java.lang.ClassLoader classLoader)
        Creates a new lookup key.
        Parameters:
        classLoader - The represented class loader.
    • Method Detail

      • hashCode

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

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