Interface ElementScope.Handle

All Superinterfaces:
AutoCloseable
Enclosing interface:
ElementScope
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 ElementScope.Handle extends AutoCloseable
Represents an open handle for an open ElementScope on the current thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the current scope for this thread.
  • Method Details

    • close

      void close()
      Releases the current scope for this thread.
      Specified by:
      close in interface AutoCloseable