Class KeyIdentityKeyedObjectKey<K,V>

java.lang.Object
io.deephaven.util.datastructures.hash.KeyIdentityKeyedObjectKey<K,V>
All Implemented Interfaces:
io.deephaven.hash.KeyedObjectKey<K,V>

public abstract class KeyIdentityKeyedObjectKey<K,V> extends Object implements io.deephaven.hash.KeyedObjectKey<K,V>
Base key implementation for objects that should be hashed and compared by the identity of their key.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.deephaven.hash.KeyedObjectKey

    io.deephaven.hash.KeyedObjectKey.Basic<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.BasicAdapter<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.Exact<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.ExactAdapter<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.NullSafeBasic<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.NullSafeBasicAdapter<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.NullSafeExact<K extends Object,V extends Object>, io.deephaven.hash.KeyedObjectKey.NullSafeExactAdapter<K extends Object,V extends Object>
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    equalKey(K key, V value)
     
    final int
    hashKey(K key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.deephaven.hash.KeyedObjectKey

    getKey
  • Constructor Details

    • KeyIdentityKeyedObjectKey

      protected KeyIdentityKeyedObjectKey()
  • Method Details

    • hashKey

      public final int hashKey(K key)
      Specified by:
      hashKey in interface io.deephaven.hash.KeyedObjectKey<K,V>
    • equalKey

      public final boolean equalKey(K key, V value)
      Specified by:
      equalKey in interface io.deephaven.hash.KeyedObjectKey<K,V>