Uses of Interface

Packages that use Consumer
Provides classes that are fundamental to the design of the Java programming language.
HTTP Client and WebSocket APIs
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.
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.
Utility classes commonly useful in concurrent programming.
Functional interfaces provide target types for lambda expressions and method references.
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
Classes to support low-level and efficient foreign memory/function access, directly from Java.
This package contains classes for consuming Flight Recorder data.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).