Class OrderedMap.Entry<K,​V>

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

    private static class OrderedMap.Entry<K,​V>
    extends java.lang.Object
    implements java.util.Map.Entry<K,​V>
    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      private Entry​(K key, V value)  
    • Method Summary

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

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

        equals, hashCode
    • Field Detail

      • key

        private final K key
      • value

        private V value
    • Constructor Detail

      • Entry

        private Entry​(K key,
                      V value)
        Parameters:
        key -
        value -
    • Method Detail

      • getKey

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

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

        public V setValue​(V newValue)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>
        See Also:
        Map.Entry.setValue(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object