removeLabelWhere method

void removeLabelWhere(
  1. Test<E> test
)

Sets the label of every element that pass the test to null.

Implementation

void removeLabelWhere(Test<E> test) {
  for (var i = 0; i < length; i++) {
    if (test(elements[i])) {
      _labels[i] = null;
    }
  }
}