|
|
@ -102,8 +102,12 @@ public class SimpleArrayMap<K, V> implements ISimpleMap<K, V> { |
|
|
|
|
|
|
|
@Override |
|
|
|
public void forEach(Consumer<? super V> consumer) { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < values.length; i++) { |
|
|
|
if (keys[i] != null) { |
|
|
|
consumer.accept(values[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|