Class ListOrderedMap.ListOrderedMapEntry

    • Constructor Detail

      • ListOrderedMapEntry

        ListOrderedMapEntry​(ListOrderedMap parent,
                            java.lang.Object key)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Description copied from class: AbstractKeyValue
        Gets the value from the pair.
        Specified by:
        getValue in interface KeyValue
        Specified by:
        getValue in interface java.util.Map.Entry
        Overrides:
        getValue in class AbstractKeyValue
        Returns:
        the value
      • setValue

        public java.lang.Object setValue​(java.lang.Object 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
        Overrides:
        setValue in class AbstractMapEntry
        Parameters:
        value - the new value
        Returns:
        the previous value