Skip navigation links

Package net.sf.mmm.util.lang.api.function

Contains a temporary backport for functional interfaces from java.util.function.

See: Description

Package net.sf.mmm.util.lang.api.function Description

Contains a temporary backport for functional interfaces from java.util.function.

Util Lang API Function

This package contains backports for the interfaces located in the package java.util.function that have been introduced with Java 1.8. Initially it was our plan to use the proper interfaces directly and create a backport with mmm-util-backport-java.util.function.
However, it turned out that Java is so picky about its reserved java package that creating a backport for earlier Java versions is technically possible but practically useless. All our users would need to add -Xbootclasspath to all compilations and runtimes involved or need to "hack" their JVM. As this makes it practically impossible to run the code in a predefined JEE environment we decided to go for "copies" in this package. After Java 1.8 is widely established, we will derive these interfaces from the correct ones in java.util.function and mark them as deprecated. In APIs that take such an interface we will replace it with the correct one. Then users can migrate and remove the deprecations. In a later release we can then entirely remove this package.
Skip navigation links

Copyright © 2001–2016 mmm-Team. All rights reserved.