Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isSame (0.16 sec)

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

          Comparator<? super K> comparator) {
        return fromEntries(checkNotNull(comparator), false, entries);
      }
    
      /**
       * Returns an immutable map containing the same entries as the provided sorted map, with the same
       * ordering.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        testConcurrentLoading(CacheBuilder.newBuilder().expireAfterWrite(10, TimeUnit.SECONDS));
      }
    
      /**
       * On a successful concurrent computation, only one thread does the work, but all the threads get
       * the same result.
       */
      private static void testConcurrentLoadingDefault(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
    
        int count = 10;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

          fail("Expected IAE");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCartesianProduct_hashCode() {
        // Run through the same cartesian products we tested above
    
        Set<List<Integer>> degenerate = Sets.cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(Sets.cartesianProduct(set(1, 2)));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        // A few elements.
        a = asList(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
        // The same, but with nulls.
        a = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

     * java.util.Objects#requireNonNull(Object)}. Instead, use whichever of {@link
     * #checkNotNull(Object)} or {@link Verify#verifyNotNull(Object)} is appropriate to the situation.
     * (The same goes for the message-accepting overloads.)
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The iteration order of the returned set follows the enum's iteration order, not the order in
       * which the elements appear in the given collection.
       *
       * @param elements the elements, all of the same {@code enum} type, that the set should contain
       * @return an immutable set containing those elements, minus duplicates
       */
      // http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * the segment.
       */
      final transient int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final transient int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final transient Segment<K, V, E, S>[] segments;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertStillOpen(closeable1);
        assertClosed(closeable2, closeable3);
      }
    
      // We don't need to test the happy case for SuccessfulCombiner.call(Async) because it's the same
      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
                    ImmutableList.of(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

       * Determines whether a character is whitespace according to the latest Unicode standard, as
       * illustrated <a
       * href="http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5Cp%7Bwhitespace%7D">here</a>.
       * This is not the same definition used by other Java APIs. (See a <a
       * href="https://goo.gl/Y6SLWx">comparison of several definitions of "whitespace"</a>.)
       *
       * <p>All Unicode White_Space characters are on the BMP and thus supported by this API.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       * successful input futures. The list of results is in the same order as the input list, and if
       * any of the provided futures fails or is canceled, its corresponding position will contain
       * {@code null} (which is indistinguishable from the future having a successful value of {@code
       * null}).
       *
       * <p>The list of results is in the same order as the input list.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top