Class MapEntry<K,V>

java.lang.Object
org.assertj.guava.data.MapEntry<K,V>
Type Parameters:
K - key type
V - value type

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

    • key

      public final K key
      Deprecated.
    • value

      public final V value
      Deprecated.
  • Method Details

    • 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(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

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

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