Class AutoHashMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.snpeff.collections.AutoHashMap<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>
Direct Known Subclasses:
CoverageByType

public class AutoHashMap<K,V> extends HashMap<K,V>
A Hash that creates new elements if they don't exists
Author:
pcingola
See Also:
  • Constructor Details

    • AutoHashMap

      public AutoHashMap(V instance)
  • Method Details

    • getOrCreate

      public V getOrCreate(K key)