Class NotebookCellArrayChange


  • public class NotebookCellArrayChange
    extends java.lang.Object
    A change describing how to move a `NotebookCell` array from state S to S'.

    Since 3.17.0

    • Constructor Detail

      • NotebookCellArrayChange

        public NotebookCellArrayChange()
      • NotebookCellArrayChange

        public NotebookCellArrayChange​(int start,
                                       int deleteCount)
      • NotebookCellArrayChange

        public NotebookCellArrayChange​(int start,
                                       int deleteCount,
                                       java.util.List<NotebookCell> cells)
    • Method Detail

      • getStart

        public int getStart()
        The start offset of the cell that changed.
      • setStart

        public void setStart​(int start)
        The start offset of the cell that changed.
      • getDeleteCount

        public int getDeleteCount()
        The deleted cells
      • setDeleteCount

        public void setDeleteCount​(int deleteCount)
        The deleted cells
      • getCells

        public java.util.List<NotebookCell> getCells()
        The new cells, if any
      • setCells

        public void setCells​(java.util.List<NotebookCell> cells)
        The new cells, if any
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

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

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