Simple library of function wrappers to allow checked exceptions in lambda expressions
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to have jdk 8 or later and maven 3.x or later installed to be able to build the project
Clone from GitHub repository
git clone https://github.com/ymcsoft/function-utils.git
And build
cd function-utils
mvn package
It will produce function-utils-{version}.jar artifact in the target directory
Use the following maven command to run the tests
mvn tests
This command will install function-utils artifact to your local maven repository
mvn install
if you installing release version use release profile to add javadoc, sources and gpg signatures:
mvn install -P release
- Maven - Dependency Management System
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Yuri Moiseyenko - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details
- Hat tip to Grzegorz Piwowarek for his article Sneakily Throwing Exceptions in Lambda Expressions in Java.
- Inspired by Exceptions in Java 8 Lambda Expressions