Interface AtomicFiles.IOConsumer<T>

Enclosing class:
AtomicFiles
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AtomicFiles.IOConsumer<T>
接收一个 Path 并向其写入内容的回调,允许抛出 IOException.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t)