Class MapFeatures

All Implemented Interfaces:
Serializable, ConcurrentMap<String,String>, Map<String,String>

public class MapFeatures extends ConcurrentHashMap<String,String>
An extension of the ConcurrentHashMap for use in the TabularTranslator.
See Also:
  • Constructor Details

    • MapFeatures

      public MapFeatures()
      Constructs a MapFeatures instance.
      See Also:
    • MapFeatures

      public MapFeatures(int initialCapacity)
      Constructs a MapFeatures instance.
      Parameters:
      initialCapacity - The implementation performs internal sizing to accommodate this many elements.
      Throws:
      IllegalArgumentException - if the initial capacity of elements is negative
      See Also:
    • MapFeatures

      public MapFeatures(Map<? extends String,? extends String> m)
      Constructs a MapFeatures instance.
      Parameters:
      m - the map
      See Also:
    • MapFeatures

      public MapFeatures(int initialCapacity, float loadFactor)
      Constructs a MapFeatures instance.
      Parameters:
      initialCapacity - the initial capacity. The implementation performs internal sizing to accommodate this many elements, given the specified load factor.
      loadFactor - the load factor (table density) for establishing the initial table size
      Throws:
      IllegalArgumentException - if the initial capacity of elements is negative or the load factor is nonpositive
      See Also:
    • MapFeatures

      public MapFeatures(int initialCapacity, float loadFactor, int concurrencyLevel)
      Constructs a MapFeatures.
      Parameters:
      initialCapacity - the initial capacity. The implementation performs internal sizing to accommodate this many elements, given the specified load factor.
      loadFactor - the load factor (table density) for establishing the initial table size
      concurrencyLevel - the estimated number of concurrently updating threads. The implementation may use this value as a sizing hint.
      Throws:
      IllegalArgumentException - if the initial capacity is negative or the load factor or concurrencyLevel are nonpositive
      See Also:
  • Method Details