Performs the given action for all key-value pairs contained in this multimap.
(@Nonnull BiConsumer<K, V> action)
| 154 | * Performs the given action for all key-value pairs contained in this multimap. |
| 155 | */ |
| 156 | default void forEach(@Nonnull BiConsumer<K, V> action) { |
| 157 | Objects.requireNonNull(action); |
| 158 | entrySet().forEach(entry -> |
| 159 | action.accept(entry.getKey(), entry.getValue())); |
no outgoing calls