Package org.fest.assertions.data
Class MapEntry
- java.lang.Object
-
- org.fest.assertions.data.MapEntry
-
public class MapEntry extends java.lang.Object
Understands an entry in a
.Map
- Author:
- Yvonne Wang
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapEntry
entry(java.lang.Object key, java.lang.Object value)
Creates a newMapEntry
.boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
entry
public static MapEntry entry(java.lang.Object key, java.lang.Object value)
Creates a newMapEntry
.- 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)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-