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()
      V getValue()
      V setValue(V value)
      • Methods inherited from class java.util.Map.Entry

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait