forEach

public void forEach(BiConsumer<Double, T> consumer)