Constructor and Description |
---|
DozerCache(String name,
int maximumSize) |
Modifier and Type | Method and Description |
---|---|
void |
addEntries(Collection<CacheEntry<KeyType,ValueType>> entries) |
void |
clear() |
boolean |
containsKey(KeyType key) |
ValueType |
get(KeyType key) |
Collection<CacheEntry<KeyType,ValueType>> |
getEntries() |
long |
getMaxSize() |
String |
getName() |
long |
getSize() |
Set<KeyType> |
keySet() |
void |
put(KeyType key,
ValueType value) |
String |
toString() |
public DozerCache(String name, int maximumSize)
public void addEntries(Collection<CacheEntry<KeyType,ValueType>> entries)
public Collection<CacheEntry<KeyType,ValueType>> getEntries()
public long getMaxSize()
getMaxSize
in interface Cache<KeyType,ValueType>
public boolean containsKey(KeyType key)
containsKey
in interface Cache<KeyType,ValueType>
Copyright © 2005-2014 dozer. All Rights Reserved.