Package org.eclipse.lsp4j
Class NotebookCellArrayChange
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookCellArrayChange
-
public class NotebookCellArrayChange extends java.lang.ObjectA change describing how to move a `NotebookCell` array from state S to S'.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description NotebookCellArrayChange()NotebookCellArrayChange(int start, int deleteCount)NotebookCellArrayChange(int start, int deleteCount, java.util.List<NotebookCell> cells)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<NotebookCell>getCells()The new cells, if anyintgetDeleteCount()The deleted cellsintgetStart()The start offset of the cell that changed.inthashCode()voidsetCells(java.util.List<NotebookCell> cells)The new cells, if anyvoidsetDeleteCount(int deleteCount)The deleted cellsvoidsetStart(int start)The start offset of the cell that changed.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-