@Override
          public IterationMode next(final ItemType node) {
            if (filter.qualifies(node)) {
              return callback.next(node);
            }

            return IterationMode.CONTINUE;
          }
Performs an operation on all items that pass a filter check.

@param <ItemType> The type of the items in the collection.
@param <CollectionType> The type of the collection.
@param collection The collection that provides the items.
@param filter The filter that selects the items that qualify.
@param callback The callback that is invoked once for each item that passes the filter check.
java/zylib/src/main/java/com/google/security/zynamics/zylib/types/common/CollectionHelpers.java