Package nbbrd.io.function
Interface IORunnable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function without argument and result.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull Closeabledefault @NonNull Runnablestatic @NonNull IORunnablestatic @NonNull IORunnablenoOp()voidRun this function.static @NonNull Runnableunchecked(@NonNull IORunnable o)
-
Method Details
-
runWithIO
Run this function.- Throws:
IOException- if an I/O error occurs
-
asCloseable
-
asUnchecked
-
unchecked
-
checked
-
noOp
-