Class MapEntry


  • public class MapEntry
    extends java.lang.Object
    Replacement for HashMap.Entry which is not public accessible.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object key
      The key attributes .
      protected java.lang.Object value
      The value attribute.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapEntry()  
    • Method Summary

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

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

      • key

        protected java.lang.Object key
        The key attributes .
      • value

        protected java.lang.Object value
        The value attribute.
    • Constructor Detail

      • MapEntry

        public MapEntry()
    • Method Detail

      • getKey

        public java.lang.Object getKey()
        Get the key.
        Returns:
        The key.
      • setKey

        public void setKey​(java.lang.Object key)
        Set the key.
        Parameters:
        key - The key to set.
      • getValue

        public java.lang.Object getValue()
        Get the value.
        Returns:
        The value.
      • setValue

        public void setValue​(java.lang.Object value)
        Set the value.
        Parameters:
        value - The value to set.