DifferenceArrayUtils constructor

DifferenceArrayUtils(
  1. int length
)

Creates a difference array backing a logical array of length zeros.

Implementation

DifferenceArrayUtils(int length) : _d = List<int>.filled(length + 1, 0);