Package javax.el

Class Util.CacheKey

  • Enclosing class:
    Util

    private static class Util.CacheKey
    extends java.lang.Object
    Key used to cache default ExpressionFactory information per class loader. The class loader reference is never null, because null tccl is handled separately.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hash  
      private java.lang.ref.WeakReference<java.lang.ClassLoader> ref  
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheKey​(java.lang.ClassLoader key)  
    • 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

      • hash

        private final int hash
      • ref

        private final java.lang.ref.WeakReference<java.lang.ClassLoader> ref
    • Constructor Detail

      • CacheKey

        public CacheKey​(java.lang.ClassLoader key)
    • 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