Class SharedDataMutable<K extends Serializable,​V extends Serializable>

  • All Implemented Interfaces:
    org.apache.commons.lang3.mutable.Mutable<V>

    public class SharedDataMutable<K extends Serializable,​V extends Serializable>
    extends Object
    implements org.apache.commons.lang3.mutable.Mutable<V>
    Mutable reference to shared-data Map at a given key
    Since:
    7.14
    • Constructor Detail

      • SharedDataMutable

        public SharedDataMutable​(Map<K,​V> map,
                                 K key,
                                 V defaultValue)
    • Method Detail

      • getValue

        public V getValue()
        Specified by:
        getValue in interface org.apache.commons.lang3.mutable.Mutable<K extends Serializable>
      • setValue

        public void setValue​(V value)
        Specified by:
        setValue in interface org.apache.commons.lang3.mutable.Mutable<K extends Serializable>