Uses of Package
java.util.function

Packages that usejava.util.function
Package
Description
com.sun.net.httpserver
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
java.io
Provides for system input and output through data streams, serialization and the file system.
java.lang
Provides classes that are fundamental to the design of the Java programming language.
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describingclass file attributes for thejava.lang.classfile library.
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.net.http
HTTP Client and WebSocket APIs
java.nio.channels
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
java.security
Provides the classes and interfaces for the security framework.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.concurrent.atomic
A small toolkit of classes that support lock-free thread-safe programming on single variables.
java.util.function
Functional interfaces provide target types for lambda expressions and method references.
java.util.logging
Provides the classes and interfaces of the Java 2 platform's core logging facilities.
java.util.regex
Classes for matching character sequences against patterns specified by regular expressions.
java.util.stream
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
javax.net.ssl
Provides classes for the secure socket package.
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.
jdk.incubator.vector

Incubating Feature. Will be removed in a future release.
jdk.jfr.consumer
This package contains classes for consuming Flight Recorder data.
jdk.jshell
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
jdk.jshell.execution
Provides implementation support for building JShell execution engines.
jdk.management.jfr
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
jdk.security.jarsigner
This package defines APIs for signing jar files.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
    Represents a predicate (boolean-valued function) of one argument.
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Classes injava.util.function used byjava.io
    Class
    Description
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
    Represents a predicate (boolean-valued function) of one argument.
  • Classes injava.util.function used byjava.lang
    Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
    Represents a function that accepts one argument and produces a result.
    Represents a supplier of results.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
    Represents a function that accepts one argument and produces a result.
    Represents a predicate (boolean-valued function) of one argument.
    Represents a supplier of results.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
  • Class
    Description
    Represents a supplier of results.
  • Class
    Description
    Represents a predicate (boolean-valued function) of two arguments.
    Represents an operation that accepts a single input argument and returns no result.
    Represents a function that accepts one argument and produces a result.
    Represents a supplier of results.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
  • Class
    Description
    Represents a predicate (boolean-valued function) of two arguments.
  • Class
    Description
    Represents an operation that accepts two input arguments and returns no result.
    Represents a function that accepts two arguments and produces a result.
    Represents a function that accepts one argument and produces a result.
  • Class
    Description
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Classes injava.util.function used byjava.util
    Class
    Description
    Represents an operation that accepts two input arguments and returns no result.
    Represents a function that accepts two arguments and produces a result.
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
    Represents an operation that accepts a single input argument and returns no result.
    Represents an operation upon twodouble-valued operands and producing adouble-valued result.
    Represents an operation that accepts a singledouble-valued argument and returns no result.
    Represents a supplier ofdouble-valued results.
    Represents a function that accepts one argument and produces a result.
    Represents an operation upon twoint-valued operands and producing anint-valued result.
    Represents an operation that accepts a singleint-valued argument and returns no result.
    Represents a function that accepts an int-valued argument and produces a result.
    Represents a supplier ofint-valued results.
    Represents a function that accepts an int-valued argument and produces a double-valued result.
    Represents a function that accepts an int-valued argument and produces a long-valued result.
    Represents an operation on a singleint-valued operand that produces anint-valued result.
    Represents an operation upon twolong-valued operands and producing along-valued result.
    Represents an operation that accepts a singlelong-valued argument and returns no result.
    Represents a supplier oflong-valued results.
    Represents a predicate (boolean-valued function) of one argument.
    Represents a supplier of results.
    Represents a function that produces a double-valued result.
    Represents a function that produces an int-valued result.
    Represents a function that produces a long-valued result.
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Class
    Description
    Represents an operation that accepts two input arguments and returns no result.
    Represents a function that accepts two arguments and produces a result.
    Represents a predicate (boolean-valued function) of two arguments.
    Represents an operation that accepts a single input argument and returns no result.
    Represents an operation upon twodouble-valued operands and producing adouble-valued result.
    Represents a function that accepts one argument and produces a result.
    Represents an operation upon twoint-valued operands and producing anint-valued result.
    Represents an operation upon twolong-valued operands and producing along-valued result.
    Represents a predicate (boolean-valued function) of one argument.
    Represents a supplier of results.
    Represents a function that accepts two arguments and produces a double-valued result.
    Represents a function that produces a double-valued result.
    Represents a function that accepts two arguments and produces an int-valued result.
    Represents a function that produces an int-valued result.
    Represents a function that accepts two arguments and produces a long-valued result.
    Represents a function that produces a long-valued result.
  • Class
    Description
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
    Represents an operation upon twodouble-valued operands and producing adouble-valued result.
    Represents an operation upon twoint-valued operands and producing anint-valued result.
    Represents an operation on a singleint-valued operand that produces anint-valued result.
    Represents an operation upon twolong-valued operands and producing along-valued result.
    Represents an operation on a singlelong-valued operand that produces along-valued result.
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Class
    Description
    Represents an operation that accepts two input arguments and returns no result.
    Represents a function that accepts two arguments and produces a result.
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
    Represents a predicate (boolean-valued function) of two arguments.
    Represents an operation that accepts a single input argument and returns no result.
    Represents an operation that accepts a singledouble-valued argument and returns no result.
    Represents a predicate (boolean-valued function) of onedouble-valued argument.
    Represents an operation on a singledouble-valued operand that produces adouble-valued result.
    Represents a function that accepts one argument and produces a result.
    Represents an operation that accepts a singleint-valued argument and returns no result.
    Represents a predicate (boolean-valued function) of oneint-valued argument.
    Represents an operation on a singleint-valued operand that produces anint-valued result.
    Represents an operation that accepts a singlelong-valued argument and returns no result.
    Represents a predicate (boolean-valued function) of onelong-valued argument.
    Represents an operation on a singlelong-valued operand that produces along-valued result.
    Represents a predicate (boolean-valued function) of one argument.
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Class
    Description
    Represents a function that accepts two arguments and produces a result.
    Represents a function that accepts one argument and produces a result.
    Represents a supplier of results.
  • Class
    Description
    Represents a function that accepts one argument and produces a result.
    Represents a predicate (boolean-valued function) of one argument.
  • Class
    Description
    Represents an operation that accepts two input arguments and returns no result.
    Represents a function that accepts two arguments and produces a result.
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
    Represents an operation that accepts a single input argument and returns no result.
    Represents an operation upon twodouble-valued operands and producing adouble-valued result.
    Represents an operation that accepts a singledouble-valued argument and returns no result.
    Represents a function that accepts a double-valued argument and produces a result.
    Represents a predicate (boolean-valued function) of onedouble-valued argument.
    Represents a supplier ofdouble-valued results.
    Represents a function that accepts a double-valued argument and produces an int-valued result.
    Represents a function that accepts a double-valued argument and produces a long-valued result.
    Represents an operation on a singledouble-valued operand that produces adouble-valued result.
    Represents a function that accepts one argument and produces a result.
    Represents an operation upon twoint-valued operands and producing anint-valued result.
    Represents an operation that accepts a singleint-valued argument and returns no result.
    Represents a function that accepts an int-valued argument and produces a result.
    Represents a predicate (boolean-valued function) of oneint-valued argument.
    Represents a supplier ofint-valued results.
    Represents a function that accepts an int-valued argument and produces a double-valued result.
    Represents a function that accepts an int-valued argument and produces a long-valued result.
    Represents an operation on a singleint-valued operand that produces anint-valued result.
    Represents an operation upon twolong-valued operands and producing along-valued result.
    Represents an operation that accepts a singlelong-valued argument and returns no result.
    Represents a function that accepts a long-valued argument and produces a result.
    Represents a predicate (boolean-valued function) of onelong-valued argument.
    Represents a supplier oflong-valued results.
    Represents a function that accepts a long-valued argument and produces a double-valued result.
    Represents a function that accepts a long-valued argument and produces an int-valued result.
    Represents an operation on a singlelong-valued operand that produces along-valued result.
    Represents an operation that accepts an object-valued and adouble-valued argument, and returns no result.
    Represents an operation that accepts an object-valued and aint-valued argument, and returns no result.
    Represents an operation that accepts an object-valued and along-valued argument, and returns no result.
    Represents a predicate (boolean-valued function) of one argument.
    Represents a supplier of results.
    Represents a function that produces a double-valued result.
    Represents a function that produces an int-valued result.
    Represents a function that produces a long-valued result.
    Represents an operation on a single operand that produces a result of the same type as its operand.
  • Class
    Description
    Represents a function that accepts two arguments and produces a result.
  • Class
    Description
    Represents a supplier of results.
  • Class
    Description
    Represents an operation on a singleint-valued operand that produces anint-valued result.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
    Represents a predicate (boolean-valued function) of one argument.
  • Class
    Description
    Represents a function that accepts two arguments and produces a result.
    Represents an operation that accepts a single input argument and returns no result.
    Represents a function that accepts one argument and produces a result.
    Represents a supplier of results.
  • Class
    Description
    Represents a function that accepts two arguments and produces a result.
    Represents an operation that accepts a single input argument and returns no result.
  • Class
    Description
    Represents an operation that accepts a single input argument and returns no result.
  • Class
    Description
    Represents an operation that accepts two input arguments and returns no result.