Package org.osgi.util.function
@Version("1.2")
package org.osgi.util.function
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)"
-
ClassDescriptionConsumer<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.