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.
|
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.1,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.function; version="[1.1,1.2)"
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0