Class IdentityKeyedObjectKey<KV>

java.lang.Object
io.deephaven.util.datastructures.hash.IdentityKeyedObjectKey<KV>
All Implemented Interfaces:
io.deephaven.hash.KeyedObjectKey<KV,KV>

public final class IdentityKeyedObjectKey<KV> extends Object implements io.deephaven.hash.KeyedObjectKey<KV,KV>
Key implementation for objects keyed by their own identity.
  • 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>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equalKey(KV kv1, KV kv2)
     
    static <KV> io.deephaven.hash.KeyedObjectKey<KV,KV>
     
    getKey(KV kv)
     
    int
    hashKey(KV kv)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static <KV> io.deephaven.hash.KeyedObjectKey<KV,KV> getInstance()
    • getKey

      public KV getKey(KV kv)
      Specified by:
      getKey in interface io.deephaven.hash.KeyedObjectKey<KV,KV>
    • hashKey

      public int hashKey(KV kv)
      Specified by:
      hashKey in interface io.deephaven.hash.KeyedObjectKey<KV,KV>
    • equalKey

      public boolean equalKey(KV kv1, KV kv2)
      Specified by:
      equalKey in interface io.deephaven.hash.KeyedObjectKey<KV,KV>