-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename throwable FunctionalInterfaces
- Loading branch information
1 parent
25cb725
commit 32b6d47
Showing
4 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...functional/ThrowingFunctionException.java → ...dev/yila/functional/ThrowingFunction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package dev.yila.functional; | ||
|
||
@FunctionalInterface | ||
public interface ThrowingFunctionException<T, R, E extends Throwable> { | ||
public interface ThrowingFunction<T, R, E extends Throwable> { | ||
R apply(T input) throws E; | ||
} |
2 changes: 1 addition & 1 deletion
2
...functional/ThrowingSupplierException.java → ...dev/yila/functional/ThrowingSupplier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package dev.yila.functional; | ||
|
||
@FunctionalInterface | ||
public interface ThrowingSupplierException<T, E extends Throwable> { | ||
public interface ThrowingSupplier<T, E extends Throwable> { | ||
T get() throws E; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters