Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkNotNull (0.2 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      private static final class Listener {
        final Runnable command;
        final Executor executor;
    
        Listener(Runnable command, Executor executor) {
          this.command = checkNotNull(command);
          this.executor = checkNotNull(executor);
        }
    
        void execute() {
          try {
            executor.execute(command);
          } catch (RuntimeException e) {
            log.log(
                Level.SEVERE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * {@inheritDoc}
       *
       * @since 10.0
       */
      @Override
      public void addListener(Runnable listener, Executor executor) {
        checkNotNull(listener, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
        // Checking isDone and listeners != TOMBSTONE may seem redundant, but our contract for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top