Class SimpleMapEntry

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

    public class SimpleMapEntry
    extends AbstractMapEntry
    implements java.util.Map.Entry
    • Constructor Summary

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

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

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

        equals, hashCode
    • Constructor Detail

      • SimpleMapEntry

        public SimpleMapEntry​(java.lang.Object key,
                              java.lang.Object value)
    • Method Detail

      • getKey

        public java.lang.Object getKey()
        Specified by:
        getKey in interface java.util.Map.Entry
        Specified by:
        getKey in class AbstractMapEntry
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.util.Map.Entry
        Specified by:
        getValue in class AbstractMapEntry
      • setValue

        public java.lang.Object setValue​(java.lang.Object value)
        Specified by:
        setValue in interface java.util.Map.Entry
        Specified by:
        setValue in class AbstractMapEntry