xfunction - Java library which provides set of extensions for standard Java APIs:
- ThrowingRunnable, ThrowingSupplier, ThrowingFunction and others
- functions to convert lambdas which throw checked exceptions to unchecked ones
- currying for lambdas
- preconditions
- prefix trie collection
- XML query/update utilities using XPath
- functions to delete/copy folders recursively
- md5 function which returns String in HEX format (instead of byte[])
- extension for HttpClient.Builder which allows to make insecure connections
- ...
Requirements
Java 8+
Download
Or you can add dependency to it as follows:
Gradle:
dependencies {
implementation 'io.github.lambdaprime:id.xfunction:22.0'
}
In case you still using Java 8:
dependencies {
implementation 'io.github.lambdaprime:id.xfunction-jdk8:15.0'
}
Documentation
Contributors
lambdaprime intid@protonmail.com