forEach

public void forEach(T tNext, BiConsumer<T, DistanceStructure<S, ? extends Object>> procedure)