Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for tank (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (!(o instanceof Task)) {
                return false;
            }
            Task task = (Task) o;
            return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getClass(), value);
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
        assertFalse(task.isDone());
        task.run();
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertEquals(2, getDone(task).intValue());
      }
    
      public void testCancelled() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      public <T> ListenableFuture<T> submit(Callable<T> task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
      public <T> ListenableFuture<T> submit(Runnable task, T result) {
        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * will not be released until that submitted task is also complete.
       *
       * <p>If a task is {@linkplain Thread#interrupt interrupted} while a task is running:
       *
       * <ol>
       *   <li>execution will not stop until the task queue is empty.
       *   <li>tasks will begin execution with the thread marked as not interrupted - any interruption
       *       applies only to the task that was running at the point of interruption.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        public <T> Future<T> submit(Callable<T> task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedCallable.class);
          return inline.submit(task);
        }
    
        @Override
        public Future<?> submit(Runnable task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedRunnable.class);
          return inline.submit(task);
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * identify deadlocks.
       */
      @VisibleForTesting
      static final class Blocker extends AbstractOwnableSynchronizer implements Runnable {
        private final InterruptibleTask<?> task;
    
        private Blocker(InterruptibleTask<?> task) {
          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class WrappingScheduledExecutorService extends WrappingExecutorService
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/GoalTask.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    /**
     * A task that is a goal.
     * <p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public final class GoalTask extends Task {
        public GoalTask(String pluginGoal) {
            super(pluginGoal);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * @since 3.0
     */
    public interface LifecycleExecutionPlanCalculator {
        MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Task> tasks)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
                        PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        }
    
        @Override
        public <T> Future<T> submit(Callable<T> task) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public Future<?> submit(Runnable task) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> Future<T> submit(Runnable task, T result) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
Back to top