# Java8 - Map更优雅的迭代方式：forEach

## BiConsumer

Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.（对该映射中的每个条目执行给定的操作，直到所有条目已被处理或动作抛出异常为止。）