org.terracotta.context
Class WeakIdentityHashMap<K,V>

java.lang.Object
  extended by org.terracotta.context.WeakIdentityHashMap<K,V>

public class WeakIdentityHashMap<K,V>
extends Object


Nested Class Summary
static interface WeakIdentityHashMap.Cleanable
           
 
Constructor Summary
WeakIdentityHashMap()
           
 
Method Summary
protected  Reference<K> createReference(K key, ReferenceQueue<? super K> queue)
           
 V get(K key)
           
 V putIfAbsent(K key, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakIdentityHashMap

public WeakIdentityHashMap()
Method Detail

get

public V get(K key)

putIfAbsent

public V putIfAbsent(K key,
                     V value)

createReference

protected Reference<K> createReference(K key,
                                       ReferenceQueue<? super K> queue)


Copyright © 2016. All Rights Reserved.