Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for returningT (0.04 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    
      /** Explicitly specifies the return type of this {@code Invokable}. */
      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

            });
        return holder.get();
      }
    
      /**
       * Updates the value currently associated with {@code key} by combining it with {@code x} via the
       * specified accumulator function, returning the new value. The previous value associated with
       * {@code key} (or zero, if there is none) is passed as the first argument to {@code
       * accumulatorFunction}, and {@code x} is passed as the second argument.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     *   }
     * }
     * return null; // Didn't find a preemptive auth scheme.
     * ```
     *
     * ## Reactive Authentication
     *
     * Implementations authenticate by returning a follow-up request that includes an authorization
     * header, or they may decline the challenge by returning null. In this case the unauthenticated
     * response will be returned to the caller that triggered it.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          assertEquals(RESULT_VALUE, f.get());
        }
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Callable<String> task = Callables.returning(RESULT_VALUE);
          Future<String> f = testExecutor.submit(task);
          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * that once the Thread returns to the Executor that this Executor composes, the interruption
         * will still be present. If the composed Executor is an ExecutorService, it can respond to
         * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue.
         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

    package com.google.common.collect;
    
    import java.util.Comparator;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@code SortedMultiset}, with {@code elementSet} reduced to returning a {@code
     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertNotNull(provider1);
            assertNotNull(provider2);
            assertNotSame(provider1, provider2);
        }
    
        // Test with config returning null time adjustment
        public void test_nullTimeAdjustment() {
            FessConfig nullAdjustConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     * from being scheduled.
     *
     * Tasks may opt-out of cancellation with `cancelable = false`. Such tasks will recur until they
     * decide not to by returning -1L.
     *
     * Task Queues
     * -----------
     *
     * Tasks are bound to the [TaskQueue] they are scheduled in. Each queue is sequential and the tasks
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } catch (UnsupportedOperationException e) {
          return;
        }
    
        Set<Entry<K, V>> entrySet = map.entrySet();
        if (supportsRemove) {
          try {
            entrySet.retainAll(null);
            // Returning successfully is not ideal, but tolerated.
          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top