public void forEach(BiConsumer<? super K, ? super V> action) {
for (Map.Entry<K, V> entry : valueMap.entrySet()) {
action.accept(entry.getKey(), entry.getValue());
}
}
<BUG>public <R> R forEach(final R seed, TriFunction<R, ? super K, ? super V, R> accumulator, final TriPredicate<? super K, ? super V, ? super R> predicate) {
R result = seed;</BUG>
for (Map.Entry<K, V> entry : valueMap.entrySet()) {
result = accumulator.apply(result, entry.getKey(), entry.getValue());
<BUG>if (predicate.test(entry.getKey(), entry.getValue(), result) == false) {
</BUG>
break;

public void forEach(BiConsumer<? super K, ? super V> action) {
for (Map.Entry<K, V> entry : valueMap.entrySet()) {
action.accept(entry.getKey(), entry.getValue());
}
}
public <R> R forEach(final R seed, TriFunction<R, ? super K, ? super V, R> accumulator,
final TriPredicate<? super K, ? super V, ? super R> conditionToBreak) {
R result = seed;
for (Map.Entry<K, V> entry : valueMap.entrySet()) {
result = accumulator.apply(result, entry.getKey(), entry.getValue());
if (conditionToBreak.test(entry.getKey(), entry.getValue(), result)) {
break;
