Interface ChildNodeEntry

All Known Implementing Classes:
AbstractChildNodeEntry, MemoryChildNodeEntry

public interface ChildNodeEntry
A ChildNodeEntry instance represents the child node states of a NodeState.

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, the Object.hashCode() method should still be implemented according to this equality contract.

  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    The name of the child node state wrt.
    @NotNull NodeState
    The child node state
  • Method Details

    • getName

      @NotNull @NotNull 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