org.assertj.core.data
Class MapEntry
java.lang.Object
org.assertj.core.data.MapEntry
public class MapEntry
- extends Object
Understands an entry in a Map
.
- Author:
- Yvonne Wang
key
public final Object key
value
public final Object value
entry
public static MapEntry entry(Object key,
Object value)
- Creates a new
MapEntry
.
- 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)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013–2015 AssertJ. All rights reserved.