public abstract class AbstractChildNodeEntry extends Object implements ChildNodeEntry
ChildNodeEntry implementations.
This base class contains default implementations of the
equals(Object) and hashCode() methods based on
the implemented interface.GET_NAME| Constructor and Description |
|---|
AbstractChildNodeEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that)
Checks whether the given object is equal to this one.
|
int |
hashCode()
Returns a hash code that's compatible with how the
equals(Object) method is implemented. |
String |
toString()
Returns a string representation of this child node entry.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getNodeStatepublic String toString()
public boolean equals(Object that)
public int hashCode()
equals(Object) method is implemented. The current
implementation simply returns the hash code of the child node name
since ChildNodeEntry instances are not intended for use as
hash keys.Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.