Interface MapUtil.EntryTransformer<K,V1,V2>

Type Parameters:
K - key type | 键类型
V1 - original value type | 原值类型
V2 - transformed value type | 转换后值类型
Enclosing class:
MapUtil
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MapUtil.EntryTransformer<K,V1,V2>
Entry transformer interface 条目转换器
Since:
JDK 25, opencode-base-collections V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    transformEntry(K key, V1 value)
    Transform an entry 转换条目
  • Method Details

    • transformEntry

      V2 transformEntry(K key, V1 value)
      Transform an entry 转换条目
      Parameters:
      key - the key | 键
      value - the value | 值
      Returns:
      transformed value | 转换后的值