Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 116 for stacked (0.17 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of {@code Multiset<E>} backed by an instance of {@code
     * ObjectCountHashMap<E>}.
     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ComparisonChain.java

       * to produce warnings in that case, and we may change this method to do so in the future. Support
       * for raw {@code Comparable} types in Guava in general is tracked as <a
       * href="https://github.com/google/guava/issues/989">#989</a>.)
       *
       * @throws ClassCastException if the parameters are not mutually comparable
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

        // TODO(kevinb): Figure out the right behavior, and document it
        return Ints.saturatedCast(5L + arraySize + (arraySize / 10));
      }
    
      /**
       * Creates an {@code ArrayList} instance backed by an array with the specified initial size;
       * simply delegates to {@link ArrayList#ArrayList(int)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        final CountDownLatch thirdSignal = new CountDownLatch(1);
        // tells the main thread when the third get has started
        final CountDownLatch fourthSignal = new CountDownLatch(1);
        // tells the test when all gets have returned
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      private static void assertIntactUsingStartedWith(
          Collection<?> startedWith, MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("Started with " + startedWith + ". State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertEqualsUsingSeed(
          long seed, @Nullable Object expected, @Nullable Object actual) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
        assertWithMessage("Radix: " + radix)
            .that(Longs.tryParse(Long.toString(value, radix), radix))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongsTest.java

            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
      private static void radixEncodeParseAndAssertEquals(Long value, int radix) {
        assertWithMessage("Radix: " + radix)
            .that(Longs.tryParse(Long.toString(value, radix), radix))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * previously returned from a call to {@link System#nanoTime()}.
       */
      long millisElapsedSince(long startNanoTime) {
        return NANOSECONDS.toMillis(System.nanoTime() - startNanoTime);
      }
    
      /** Returns a new started daemon Thread running the given runnable. */
      Thread newStartedThread(Runnable runnable) {
        Thread t = new Thread(runnable);
        t.setDaemon(true);
        t.start();
        return t;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

        return new SingletonImmutableSet<>(element);
      }
    
      /*
       * TODO: b/315526394 - Skip the Builder entirely for the of(...) methods, since we don't need to
       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top