com.alibaba.fastjson.util
Class IdentityHashMap<K,V>

java.lang.Object
  extended by com.alibaba.fastjson.util.IdentityHashMap<K,V>
Direct Known Subclasses:
SerializeConfig

public class IdentityHashMap<K,V>
extends Object

for concurrent IdentityHashMap

Author:
wenshao

Field Summary
static int DEFAULT_TABLE_SIZE
           
 
Constructor Summary
IdentityHashMap()
           
IdentityHashMap(int tableSize)
           
 
Method Summary
 V get(K key)
           
 boolean put(K key, V value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TABLE_SIZE

public static final int DEFAULT_TABLE_SIZE
See Also:
Constant Field Values
Constructor Detail

IdentityHashMap

public IdentityHashMap()

IdentityHashMap

public IdentityHashMap(int tableSize)
Method Detail

get

public final V get(K key)

put

public boolean put(K key,
                   V value)

size

public int size()


Copyright © 2012 Alibaba Group. All Rights Reserved.