forEachFieldElement method

int forEachFieldElement(
  1. ForEachElement f
)

Implementation

int forEachFieldElement(ForEachElement f) {
  var count = 0;

  for (var elem in getFieldsElements()) {
    f(elem);
    count++;
  }

  return count;
}