Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,745 for Methode (0.08 sec)

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

          return oldValue;
        }
      }
    
      /**
       * If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code
       * expectedOldValue} with {@code newValue} and returns true; otherwise, this method returns false.
       *
       * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is
       * currently in the map, or if {@code key} is not in the map at all.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        checkNotNull(future);
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

    import java.util.concurrent.Executor;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses
     * should override one or more methods to modify the behavior of the backing future as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
     *       then as many exception-testing methods as there are exceptions the method can throw.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        private ExecutorService inline = newDirectExecutorService();
    
        public void assertLastMethodCalled(String method) {
          assertEquals(method, lastMethodCalled);
        }
    
        public void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) {
          assertLastMethodCalled(method + "Timeout");
          assertEquals(unit.toMillis(timeout), lastTimeoutInMillis);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      private final List<PerListenerQueue<L>> listeners =
          Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>());
    
      /** Method reference-compatible listener event. */
      interface Event<L> {
        /** Call a method on the listener. */
        void call(L listener);
      }
    
      /**
       * Adds a listener that will be called using the given executor when events are later {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LongAdder.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

    /**
     * An assortment of mainly legacy static utility methods that operate on or return objects of type
     * {@code Iterable}. Except as noted, each method has a corresponding {@link Iterator}-based method
     * in the {@link Iterators} class.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top