Class Command.OldNodeState

  • Enclosing class:
    Command

    public static class Command.OldNodeState
    extends java.lang.Object
    Small helper for holding the interesting part of the old data state of the objects.
    • Constructor Detail

      • OldNodeState

        public OldNodeState​(Node node)
        Constructs a new OldNodeState for the given node.
        Parameters:
        node - The node whose state has to be remembered
    • Method Detail

      • isModified

        public final boolean isModified()
        Returns old modified state.
        Returns:
        old modified state
        See Also:
        #isModified()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object