Class TestImmutableEntry.MyEntry<K,V>

java.lang.Object
org.djutils.immutablecollections.TestImmutableEntry.MyEntry<K,V>
Type Parameters:
K - type of the key
V - type of the value
All Implemented Interfaces:
Map.Entry<K,V>
Enclosing class:
TestImmutableEntry

public static class TestImmutableEntry.MyEntry<K,V> extends Object implements Map.Entry<K,V>
Simple implementation of Entry interface.
  • Constructor Details

    • MyEntry

      MyEntry(K key, V value)
      Construct a new MyEntry object.
      Parameters:
      key - K; key of the entry
      value - V; value of the entry
  • Method Details