Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for asName (0.56 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. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, String> same = Maps.difference(left, right);
        MapDifference<Integer, String> reverse = Maps.difference(right, left);
        MapDifference<Integer, String> diff2 = Maps.difference(left, right2);
    
        new EqualsTester()
            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

        MapDifference<Integer, String> same = Maps.difference(left, right);
        MapDifference<Integer, String> reverse = Maps.difference(right, left);
        MapDifference<Integer, String> diff2 = Maps.difference(left, right2);
    
        new EqualsTester()
            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  9. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. 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)
Back to top