Class BaseDynaBeanMapDecorator.MapEntry<K>

  • All Implemented Interfaces:
    java.util.Map.Entry<K,​java.lang.Object>
    Enclosing class:
    BaseDynaBeanMapDecorator<K>

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

      Fields 
      Modifier and Type Field Description
      private K key  
      private java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      MapEntry​(K key, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      K getKey()  
      java.lang.Object getValue()  
      int hashCode()  
      java.lang.Object setValue​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        private final K key
      • value

        private final java.lang.Object value
    • Constructor Detail

      • MapEntry

        MapEntry​(K key,
                 java.lang.Object value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Map.Entry<K,​java.lang.Object>
        Overrides:
        equals in class java.lang.Object
      • getKey

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

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<K,​java.lang.Object>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<K,​java.lang.Object>
        Overrides:
        hashCode in class java.lang.Object
      • setValue

        public java.lang.Object setValue​(java.lang.Object value)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​java.lang.Object>