Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 759 for that (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      protected void setUp() throws Exception {
        // Load the "normal" copy of SettableFuture and related classes.
        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        // If duplicates are allowed, this map will track the last value for each duplicated key.
        // A second pass will retain only the first entry for that key, but with this last value. The
        // value will then be replaced by null, signaling that later entries with the same key should
        // be deleted.
        Map<K, @Nullable V> duplicates = null;
        int dupCount = 0;
        for (int i = 0; i < n; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Runnables.java

    public final class Runnables {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      /** Returns a {@link Runnable} instance that does nothing when run. */
      public static Runnable doNothing() {
        return EMPTY_RUNNABLE;
      }
    
      private Runnables() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Runnables.java

    public final class Runnables {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {}
          };
    
      /** Returns a {@link Runnable} instance that does nothing when run. */
      public static Runnable doNothing() {
        return EMPTY_RUNNABLE;
      }
    
      private Runnables() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param expect the expected value
       * @param update the new value
       * @return true if successful. False return indicates that the actual value was not equal to the
       *     expected value.
       */
      public final boolean compareAndSet(int i, double expect, double update) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

          CompactLinkedHashMap<K, V> create() {
        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface ServiceManagerBridge {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/FileWriteMode.java

     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public enum FileWriteMode {
      /** Specifies that writes to the opened file should append to the end of the file. */
      APPEND
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.List;
    import java.util.SortedSet;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top