setNumObjects method

void setNumObjects(
  1. int n
)

Sets the max number of objects

Implementation

void setNumObjects(int n) {
  matrix.addAll(List.filled((n * (n - 1)) >> 1,0.0));
}