private static class Matchers.IdenticalTo extends AbstractMatcher<java.lang.Object> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private java.lang.Object |
value |
| Constructor and Description |
|---|
IdenticalTo(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
matches(java.lang.Object other)
Returns
true if this matches t, false otherwise. |
java.lang.String |
toString() |
and, orprivate final java.lang.Object value
private static final long serialVersionUID
public boolean matches(java.lang.Object other)
Matchertrue if this matches t, false otherwise.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object