Class WeakKeySet.KeyAndSource

  • Enclosing class:
    WeakKeySet

    private static final class WeakKeySet.KeyAndSource
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Key<?> key  
      (package private) java.lang.Object source  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyAndSource​(Key<?> key, java.lang.Object source)  
    • 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

      • key

        final Key<?> key
      • source

        final java.lang.Object source
    • Constructor Detail

      • KeyAndSource

        KeyAndSource​(Key<?> key,
                     java.lang.Object source)
    • 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