Class ImmutableEntry<K,V>

java.lang.Object
aQute.bnd.unmodifiable.ImmutableEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>

final class ImmutableEntry<K,V> extends Object implements Map.Entry<K,V>
  • Field Details

    • key

      private final K key
    • value

      private final V value
  • Constructor Details

    • ImmutableEntry

      ImmutableEntry(K key, V value)
      Constructor.
      Parameters:
      key - Must not be null.
      value - Must not be null.
  • Method Details