Class DictionaryAsMap.KeyEntry

  • All Implemented Interfaces:
    java.util.Map.Entry<U,​V>
    Enclosing class:
    DictionaryAsMap<U,​V>

    class DictionaryAsMap.KeyEntry
    extends java.lang.Object
    implements java.util.Map.Entry<U,​V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private U key  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyEntry​(U key)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      U getKey()  
      V getValue()  
      V setValue​(V value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        equals, hashCode
    • Field Detail

      • key

        private final U key
    • Constructor Detail

      • KeyEntry

        KeyEntry​(U key)
    • Method Detail

      • getKey

        public U getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<U,​V>
      • getValue

        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<U,​V>
      • setValue

        public V setValue​(V value)
        Specified by:
        setValue in interface java.util.Map.Entry<U,​V>