setNumObjects method
Sets the max number of objects
Implementation
void setNumObjects(int n) {
matrix.addAll(List.filled((n * (n - 1)) >> 1,0.0));
}
Sets the max number of objects
void setNumObjects(int n) {
matrix.addAll(List.filled((n * (n - 1)) >> 1,0.0));
}