Class MapEntry<K,​V>

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

    @Deprecated
    public final class MapEntry<K,​V>
    extends Object
    Deprecated.
    use org.assertj.core.data.MapEntry instead.
    This is generic version of MapEntry
    • 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​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

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