Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AutoCloseable (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testAutoCloseable() throws Exception {
        AutoCloseable autoCloseable = closeable1::close;
        ClosingFuture<String> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<String>() {
                  @Override
                  public String call(DeferredCloser closer) throws Exception {
                    closer.eventuallyClose(autoCloseable, closingExecutor);
                    return "foo";
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            }
        }
    
        /**
         * A holder for the directory context.
         */
        protected class DirContextHolder implements AutoCloseable {
            private final DirContext context;
    
            private int counter = 1;
    
            /**
             * Constructs a new directory context holder.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top