Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morgwai/functional-interfaces
Collection of Java functional interfaces
https://github.com/morgwai/functional-interfaces
Last synced: about 1 month ago
JSON representation
Collection of Java functional interfaces
- Host: GitHub
- URL: https://github.com/morgwai/functional-interfaces
- Owner: morgwai
- License: apache-2.0
- Created: 2024-11-09T15:58:58.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-09T16:03:25.000Z (about 1 month ago)
- Last Synced: 2024-11-09T17:17:53.824Z (about 1 month ago)
- Language: Java
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Functional Interfaces
Collection of Java functional interfaces.
Copyright 2024 Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0
**latest release: [1.0](https://search.maven.org/artifact/pl.morgwai.base/functional-interfaces/1.0/jar)**
([javadoc](https://javadoc.io/doc/pl.morgwai.base/functional-interfaces/1.0))## MAIN USER CLASSES
### [ThrowingComputation](https://javadoc.io/doc/pl.morgwai.base/functional-interfaces/latest/pl/morgwai/base/function/ThrowingComputation.html)
Similar to `Callable` but can throw inferable `Exception` types. This allows to precisely declare/infer types of `Exceptions` thrown by lambda expressions and avoid boilerplate try-catch-rethrowOrIgnore blocks.### [ThrowingTask](https://javadoc.io/doc/pl.morgwai.base/functional-interfaces/latest/pl/morgwai/base/function/ThrowingTask.html)
Similar to `ThrowingComputation` but for void-returning tasks.