Class SpillChangeRecord

java.lang.Object
io.keikai.range.impl.SpillChangeRecord

public final class SpillChangeRecord extends Object
Immutable record of a single dynamic-array spill state change.

oldRows == 0 && oldCols == 0 means "no spill existed before" (newly created); newRows == 0 && newCols == 0 means "spill cleared." Both non-zero means resize / re-spill.

Since:
7.0.0
  • Field Details

    • sheet

      public final int sheet
    • anchorRow

      public final int anchorRow
    • anchorCol

      public final int anchorCol
    • oldRows

      public final int oldRows
    • oldCols

      public final int oldCols
    • newRows

      public final int newRows
    • newCols

      public final int newCols
  • Constructor Details

    • SpillChangeRecord

      public SpillChangeRecord(int sheet, int anchorRow, int anchorCol, int oldRows, int oldCols, int newRows, int newCols)
  • Method Details

    • hasOldExtent

      public boolean hasOldExtent()
    • hasNewExtent

      public boolean hasNewExtent()
    • toString

      public String toString()
      Overrides:
      toString in class Object