This is the back-port for the Java 1.8+ interface
java.util.functionthat have been introduced with Java 1.8. Initially it was our plan to use the proper interfaces directly and create a backport with
javapackage that creating a backport for earlier Java versions is technically possible but practically useless. All our users would need to add
-Xbootclasspathto 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.functionand 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.
Copyright © 2001–2014 mmm-Team. All rights reserved.