Top Description Interfaces Classes
module org.osgi.util.function

Package org.osgi.util.function

Annotations
@Version:1.2
Imports
org.osgi.annotation.versioning.Version

Function Package Version 1.2.

Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.

Example import for consumers using the API in this package:

Import-Package: org.osgi.util.function; version="[1.2,2.0)"

Example import for providers implementing the API in this package:

Import-Package: org.osgi.util.function; version="[1.2,1.3)"

Author
$Id: 7088a5c764ed432acf3b9b8f8d313d82eda2e01d $

Interface Summary

Modifier and TypeInterface and Description
public interface
Consumer<
The type of the function input.
T
>

A function that accepts a single argument and produces no result.

public interface
Function<
The type of the function input.
T
,
The type of the function output.
R
>

A function that accepts a single argument and produces a result.

public interface
Predicate<
The type of the predicate input.
T
>

A predicate that accepts a single argument and produces a boolean result.

public interface
Supplier<
The type of the function output.
T
>

A function that produces a result.

Class Summary

Modifier and TypeClass and Description
pack-priv class