Class WeakIdentityHashMap

java.lang.Object
org.jruby.util.GenericMap
org.jruby.util.WeakIdentityHashMap
All Implemented Interfaces:
Map

public class WeakIdentityHashMap extends GenericMap implements Map
Class WeakIdentityHashMap is a hash map that hashes objects based on System.identityHashMap, and holds weakly onto the key. This fails if values make reference to the keys!
Since:
1.0
Version:
2.0
Author:
Kresten Krab Thorup
  • Constructor Details

    • WeakIdentityHashMap

      public WeakIdentityHashMap()
      the default and only constructor
    • WeakIdentityHashMap

      public WeakIdentityHashMap(int size)
  • Method Details