Uses of Interface java.util.function.ToLongBiFunction (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Interface
java.util.function.ToLongBiFunction

- Packages that use ToLongBiFunction
  Package | Description
  --- | ---
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

- - ### Uses of ToLongBiFunction in java.util.concurrent

    Methods in java.util.concurrent with parameters of type ToLongBiFunction
    Modifier and Type | Method and Description
    --- | ---
    `long` | ConcurrentHashMap.`reduceToLong(long parallelismThreshold, ToLongBiFunction<? super K,? super V> transformer, long basis, LongBinaryOperator reducer)` Returns the result of accumulating the given transformation of all (key, value) pairs using the given reducer to combine values, and the given basis as an identity value.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.