Class MapEntry<K,​V>

  • Type Parameters:
    K - key type
    V - value type

    @Deprecated
    public final class MapEntry<K,​V>
    extends java.lang.Object
    Deprecated.
    This is generic version of MapEntry
    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      private MapEntry​(K key, V value)
      Deprecated.
       
    • Field Detail

      • key

        public final K key
        Deprecated.
      • value

        public final V value
        Deprecated.
    • Constructor Detail

      • MapEntry

        private MapEntry​(K key,
                         V value)
        Deprecated.
    • Method Detail

      • entry

        public static <K,​V> MapEntry<K,​V> entry​(K key,
                                                            V value)
        Deprecated.
        Creates a new MapEntry.
        Type Parameters:
        K - key type
        V - value type
        Parameters:
        key - the key of the entry to create.
        value - the value of the entry to create.
        Returns:
        the created MapEntry.
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

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