public final class MapKeyElementSelector extends ElementSelector
| Constructor and Description |
|---|
MapKeyElementSelector(Object key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Must be implemented in a way so that this element can be distinguished from the other ones.
|
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.
|
String |
toHumanReadableString() |
toStringpublic MapKeyElementSelector(Object key)
@Deprecated public Object getKey()
public String toHumanReadableString()
toHumanReadableString in class ElementSelectorpublic boolean equals(Object o)
ElementSelectorequals in class ElementSelectoro - The object to check equality against.true is the given object equals this one, otherwise false.public int hashCode()
ElementSelector0.hashCode in class ElementSelectorCopyright © 2016. All rights reserved.