Interface LongLongMap.LongLongConsumer

Enclosing class:
LongLongMap
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 LongLongMap.LongLongConsumer
Functional interface for long-long consumer. long-long 消费者函数式接口。
Since:
JDK 25, opencode-base-collections V1.0.3
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(long key, long value)
    Accept a long key and long value.
  • Method Details

    • accept

      void accept(long key, long value)
      Accept a long key and long value. 接受一个 long 键和 long 值。
      Parameters:
      key - the key | 键
      value - the value | 值