Package 

Class MapEntry

  • All Implemented Interfaces:
    java.util.Map.Entry

    
    public class MapEntry<K, V>
     implements Map.Entry<K, V>
                        

    A constructable implementation of Map.Entry (none is provided by the stdlib by default)

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected final K key
      protected V value
    • Constructor Summary

      Constructors 
      Constructor Description
      MapEntry(K key, V value)
    • Method Summary

      Modifier and Type Method Description
      K getKey() {@inheritDoc}
      V getValue() {@inheritDoc}
      V setValue(V value) {@inheritDoc}
      • Methods inherited from class java.util.Map.Entry

        comparingByKey, comparingByValue, equals, getKey, getValue, hashCode, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapEntry

        MapEntry(K key, V value)