Class MapMakerInternalMap.WriteThroughEntry

    • Field Detail

      • key

        final K key
      • value

        V value
    • Constructor Detail

      • WriteThroughEntry

        WriteThroughEntry​(K key,
                          V value)
    • Method Detail

      • getKey

        public K getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<K,​V>
        Specified by:
        getKey in class AbstractMapEntry<K,​V>
      • getValue

        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<K,​V>
        Specified by:
        getValue in class AbstractMapEntry<K,​V>
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object object)
        Specified by:
        equals in interface java.util.Map.Entry<K,​V>
        Overrides:
        equals in class AbstractMapEntry<K,​V>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<K,​V>
        Overrides:
        hashCode in class AbstractMapEntry<K,​V>
      • setValue

        public V setValue​(V newValue)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>
        Overrides:
        setValue in class AbstractMapEntry<K,​V>