public class FixedSizeMap extends Object implements CacheMap
Constructor and Description |
---|
FixedSizeMap(int maxSize) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object key)
Retrieve the Object associated with the key, or null if either no value has
been associated or if the key's value has been cleared by the cache.
|
int |
getMaxSize() |
void |
put(Object key,
Object value)
Associate a value with a key.
|
void |
remove(Object key)
Explicitly remove an object.
|
public FixedSizeMap(int maxSize)
public int getMaxSize()
public void put(Object key, Object value)
CacheMap
public Object get(Object key)
CacheMap
Copyright © 2014 BioJava. All rights reserved.