Class ListOrderedMap.ListOrderedMapEntry<K,​V>

  • All Implemented Interfaces:
    java.util.Map.Entry<K,​V>, KeyValue<K,​V>
    Enclosing class:
    ListOrderedMap<K,​V>

    static class ListOrderedMap.ListOrderedMapEntry<K,​V>
    extends AbstractMapEntry<K,​V>
    • Constructor Detail

    • Method Detail

      • setValue

        public V setValue​(V value)
        Description copied from class: AbstractMapEntry
        Sets the value stored in this Map.Entry.

        This Map.Entry is not connected to a Map, so only the local data is changed.

        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>
        Overrides:
        setValue in class AbstractMapEntry<K,​V>
        Parameters:
        value - the new value
        Returns:
        the previous value