Class ImmutableEntry<K,​V>

    • Field Detail

      • key

        final K key
      • value

        final V value
    • Constructor Detail

      • ImmutableEntry

        ImmutableEntry​(@Nullable
                       K key,
                       @Nullable
                       V value)
    • Method Detail

      • getKey

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

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

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