com.beetle.framework.util.cache
类 ConcurrentCache

java.lang.Object
  继承者 com.beetle.framework.util.cache.ConcurrentCache
所有已实现的接口:
ICache

public class ConcurrentCache
extends java.lang.Object
implements ICache


构造方法摘要
ConcurrentCache()
           
ConcurrentCache(int initialCapacity)
           
 
方法摘要
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 java.util.Set entrySet()
           
 java.lang.Object get(java.lang.Object key)
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 void remove(java.lang.Object key)
           
 int size()
           
 java.util.Collection values()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ConcurrentCache

public ConcurrentCache()

ConcurrentCache

public ConcurrentCache(int initialCapacity)
方法详细信息

clear

public void clear()
指定者:
接口 ICache 中的 clear

containsKey

public boolean containsKey(java.lang.Object key)
指定者:
接口 ICache 中的 containsKey

get

public java.lang.Object get(java.lang.Object key)
指定者:
接口 ICache 中的 get

isEmpty

public boolean isEmpty()
指定者:
接口 ICache 中的 isEmpty

keySet

public java.util.Set keySet()
指定者:
接口 ICache 中的 keySet

put

public void put(java.lang.Object key,
                java.lang.Object value)
指定者:
接口 ICache 中的 put

remove

public void remove(java.lang.Object key)
指定者:
接口 ICache 中的 remove

size

public int size()
指定者:
接口 ICache 中的 size

entrySet

public java.util.Set entrySet()
指定者:
接口 ICache 中的 entrySet

values

public java.util.Collection values()
指定者:
接口 ICache 中的 values