public abstract class AbstractChildNodeEntry extends java.lang.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(java.lang.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. |
java.lang.String |
toString()
Returns a string representation of this child node entry.
|
getName, getNodeState
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
that
- target of the comparisontrue
if the objects are equal,
false
otherwisepublic 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.hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved