Interface ChildNodeEntry
-
- All Known Implementing Classes:
AbstractChildNodeEntry,MemoryChildNodeEntry
public interface ChildNodeEntryAChildNodeEntryinstance represents the child node states of aNodeState.Equality and hash codes
Two child node entries are considered equal if and only if their names and referenced node states match. The
Object.equals(Object)method needs to be implemented so that it complies with this definition. And while child node entries are not meant for use as hash keys, theObject.hashCode()method should still be implemented according to this equality contract.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.StringgetName()The name of the child node state wrt.@NotNull NodeStategetNodeState()The child node state
-
-
-
Method Detail
-
getName
@NotNull @NotNull java.lang.String getName()
The name of the child node state wrt. to its parent state.- Returns:
- name of the child node
-
getNodeState
@NotNull @NotNull NodeState getNodeState()
The child node state- Returns:
- child node state
-
-