Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,038 for that (0.09 sec)

  1. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NullsFirstOrdering.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsFirstOrdering) {
          NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ 957692532; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsLastOrdering) {
          NullsLastOrdering<?> that = (NullsLastOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ -921210296; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/NullsLastOrdering.java

      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof NullsLastOrdering) {
          NullsLastOrdering<?> that = (NullsLastOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ -921210296; // meaningless
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Callables.java

        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
       * running will have the given name.
       *
       * @param callable The callable to wrap
       * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraphBuilder.java

       * ValueGraphBuilder}.
       *
       * <p>The returned builder can be used for populating an {@link ImmutableValueGraph}.
       *
       * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link
       * ElementOrder#stable()}, regardless of the value that was set in this builder.
       *
       * @since 28.0
       */
      public <N1 extends N, V1 extends V> ImmutableValueGraph.Builder<N1, V1> immutable() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     */
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
        TestListeningExecutorService e = new TestListeningExecutorService();
    
        TestRunnable runnable = new TestRunnable();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     */
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
        TestListeningExecutorService e = new TestListeningExecutorService();
    
        TestRunnable runnable = new TestRunnable();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
Back to top