unchecked

Functionally uncheck exceptions at compile time.

License

License

GroupId

GroupId

com.github.cuzfrog
ArtifactId

ArtifactId

unchecked
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

unchecked
Functionally uncheck exceptions at compile time.
Project URL

Project URL

https://github.com/cuzfrog/unchecked
Source Code Management

Source Code Management

https://github.com/cuzfrog/unchecked

Download unchecked

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.cuzfrog/unchecked/ -->
<dependency>
    <groupId>com.github.cuzfrog</groupId>
    <artifactId>unchecked</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.cuzfrog/unchecked/
implementation 'com.github.cuzfrog:unchecked:1.0'
// https://jarcasting.com/artifacts/com.github.cuzfrog/unchecked/
implementation ("com.github.cuzfrog:unchecked:1.0")
'com.github.cuzfrog:unchecked:jar:1.0'
<dependency org="com.github.cuzfrog" name="unchecked" rev="1.0">
  <artifact name="unchecked" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.cuzfrog', module='unchecked', version='1.0')
)
libraryDependencies += "com.github.cuzfrog" % "unchecked" % "1.0"
[com.github.cuzfrog/unchecked "1.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.13

Project Modules

There are no modules declared in this project.

badge Maven Central

Unchecked

Functionally uncheck exceptions at compile time.

Example:

import static com.github.cuzfrog.function.Functionally.uncheckedF;

Files.list(Paths.get("dir")).map(uncheckedF(Files::readAllBytes)).map(String::new)...

In case of exception, IOException will be thrown without RuntimeException wrapper.

Implemented functions:

  • unchecked - Consumer, Supplier, BiConsumer
  • uncheckedF - Function, BiFunction
  • uncheckedP - Predicate

Versions

Version
1.0