Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for restoreInterruptIfIsInterruptedException (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/Platform.java

    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {
        checkNotNull(t); // to satisfy NullPointerTester
        if (t instanceof InterruptedException) {
          currentThread().interrupt();
        }
      }
    
      private Platform() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 10 12:27:25 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    import static com.google.common.util.concurrent.Futures.nonCancellationPropagating;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Platform.restoreInterruptIfIsInterruptedException;
    import static java.util.logging.Level.FINER;
    import static java.util.logging.Level.SEVERE;
    import static java.util.logging.Level.WARNING;
    
    import com.google.common.annotations.J2ktIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top