Class ValueMap<K,​V extends java.lang.Number>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Value<V>>, java.util.Map<K,​Value<V>>

    public class ValueMap<K,​V extends java.lang.Number>
    extends java.util.LinkedHashMap<K,​Value<V>>
    implements java.lang.Iterable<Value<V>>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueMap()  
      ValueMap​(int initialCapacity)  
      ValueMap​(java.util.Map<K,​Value<V>> map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Value<V> ensureValue​(K key)  
      protected ValueFactory<V> getValueFactory()  
      java.util.Iterator<Value<V>> iterator()  
      • Methods inherited from class java.util.LinkedHashMap

        clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
      • Methods inherited from class java.util.HashMap

        clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
    • Constructor Detail

      • ValueMap

        public ValueMap()
      • ValueMap

        public ValueMap​(int initialCapacity)
      • ValueMap

        public ValueMap​(java.util.Map<K,​Value<V>> map)
    • Method Detail

      • iterator

        public java.util.Iterator<Value<V>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<K>
      • ensureValue

        protected Value<V> ensureValue​(K key)