Class ConsumeSerializerVisitor.ElementMemento

    • Method Detail

      • copy

        public Memento copy()
        Description copied from interface: Memento
        Performs a deep clone of this Memento.
        Returns:
        a deep clone of this Memento
      • restore

        public void restore​(Memento memento)
        Description copied from interface: Memento
        Combines a Memento state with this Memento
        Parameters:
        memento - the Memento restoring this Memento