程序包 dev.utils.common

接口 ForUtils.ConsumerMap<K,V>

封闭类:
ForUtils

public static interface ForUtils.ConsumerMap<K,V>
detail: 循环消费者
作者:
Ttt
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    accept(Iterator<Map.Entry<K,V>> iterator, Map.Entry<K,V> entry, K key, V value)
    循环消费方法
  • 方法详细资料

    • accept

      void accept(Iterator<Map.Entry<K,V>> iterator, Map.Entry<K,V> entry, K key, V value)
      循环消费方法
      参数:
      iterator - 迭代器
      entry - 键值对
      key - 对应索引 Key
      value - 对应索引值