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 Summary

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

    Constructors
    Modifier
    Constructor
    Description
    private
    MapEntry(K key, V value)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K, V> MapEntry<K,V>
    entry(K key, V value)
    Deprecated.
    Creates a new MapEntry.
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • key

      public final K key
      Deprecated.
    • value

      public final V value
      Deprecated.
  • Constructor Details

    • MapEntry

      private MapEntry(K key, 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