Funcito is a Java library which simplifies access to your favorite functional programming APIs by wrapping Java methods as the function-type objects defined in those libraries. Rather than creating another functional programming API, Funcito makes it easy to define function-type objects which wrap existing methods. As a result, your code has less noise and clutter of anonymous inner classes, annotations, etc. Your code remains safe for automated refactoring, since there are no String-based reflection or forced naming conventions. The supported frameworks are Google Guava, Jedi, Functional Java, Play! Framework 2, and collections-generic.
| Tags | Software Development Libraries Functional Programming Java API |
|---|---|
| Licenses | Apache 2.0 |
| Implementation | Java 1.5+ |
Recent releases


Release Notes: This release adds support for Play! Framework 2 and for collections-generic (a generified version of Jakarta commons-collections).


Release Notes: Highlights include wrapping of method chains and methods with parameters. This release supports wrapping of chained method calls and wrapping of methods with parameters. Warning messages are logged to JUL, not System.err. Improved diagnostic messages in runtime exceptions. Internal classes have been renamed to prevent future collisions. The empty Objenesis directory has been removed from the jar. Microbenchmarks have been developed to track the impact of changes. Increased unit test coverage. Improved code examples for current APIs: funcito-src.jar.


Release Notes: This release fixes a minor bug by removing a runtime dependency on Google Guava for users of FP libraries other than Google Guava (i.e., Functional Java or Jedi). It adds repository management support to build, so this project is now available in Maven Central as well for Maven users.