public final class MapKeyElementSelector extends ElementSelector
Constructor and Description |
---|
MapKeyElementSelector(java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Must be implemented in a way so that this element can be distinguished from the other ones.
|
java.lang.Object |
getKey()
Deprecated.
Low-level API. Don't use in production code. May be removed in future versions.
|
int |
hashCode()
Make sure to implement this properly.
|
java.lang.String |
toHumanReadableString() |
toString
@Deprecated public java.lang.Object getKey()
public java.lang.String toHumanReadableString()
toHumanReadableString
in class ElementSelector
public boolean equals(java.lang.Object o)
ElementSelector
equals
in class ElementSelector
o
- The object to check equality against.true
is the given object equals this one, otherwise false
.public int hashCode()
ElementSelector
0
.hashCode
in class ElementSelector