Package htsjdk.samtools.util
Interface ResourceLimitedMapFunctor<Key,Value>
- Type Parameters:
Key
- Used to find and create value.Value
- Type stored in ResourceLimitedMap, which is created as necessary and finalized when it is the least-recently used.
public interface ResourceLimitedMapFunctor<Key,Value>
c.f. ResourceLimitedMap for details.
-
Method Summary
-
Method Details
-
makeValue
Create a new value corresponding to the key- Parameters:
key
-- Returns:
- a new value corresponding to the key
-
finalizeValue
Clean up an existing value in conjunction with removing from ResourceLimitedMap.- Parameters:
key
-value
-
-