Interface | Description |
---|---|
Consumer<T> |
A function that accepts a single argument and produces no result.
|
Function<T,R> |
A function that accepts a single argument and produces a result.
|
Predicate<T> |
A predicate that accepts a single argument and produces a boolean result.
|
Supplier<T> |
A function that produces a result.
|
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)"
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0