Interface Restore

All Superinterfaces:
AutoCloseable
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 interface Restore extends AutoCloseable
An AutoCloseable that doeesn't throw a checked exception.
Author:
rob
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static Restore
    Provide a no-op Restore.
  • Method Details

    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • nothing

      static Restore nothing()
      Provide a no-op Restore.
      Returns:
      The no-op restore.