Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for do (0.17 sec)

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

       * ordering of the keys.
       *
       * <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 a map with keys that are not mutually
    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/src/com/google/common/util/concurrent/AbstractFuture.java

          this.owner = owner;
          this.future = future;
        }
    
        @Override
        public void run() {
          if (owner.value != this) {
            // nothing to do, we must have been cancelled, don't bother inspecting the future.
            return;
          }
          Object valueToSet = getFutureValue(future);
          if (ATOMIC_HELPER.casValue(owner, this, valueToSet)) {
            complete(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * ordering of the keys.
       *
       * <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 a map with keys that are not mutually
    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)
  4. android/guava/src/com/google/common/base/Preconditions.java

           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    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)
  5. android/guava/src/com/google/common/collect/Sets.java

       * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    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)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
       * at a time, but since read operations and cache loading computations can proceed concurrently,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object.class, TypeToken.of(String[].class).getSupertype(Object.class).getType());
      }
    
      public void testGetSupertype_fromWildcard() {
        @SuppressWarnings("unchecked") // can't do new TypeToken<? extends ...>() {}
        TypeToken<? extends List<String>> type =
            (TypeToken<? extends List<String>>)
                TypeToken.of(Types.subtypeOf(new TypeToken<List<String>>() {}.getType()));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMap<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
    
        /*
         * We'd like to sanity check that we didn't get a NavigableMap out, but we
         * can't easily do so while maintaining GWT compatibility.
         */
        assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed);
      }
    
      @GwtIncompatible // NavigableMap
      public void testNavigableMapTransformValues() {
    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)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMap<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
    
        /*
         * We'd like to sanity check that we didn't get a NavigableMap out, but we
         * can't easily do so while maintaining GWT compatibility.
         */
        assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed);
      }
    
      @GwtIncompatible // NavigableMap
      public void testNavigableMapTransformValues() {
    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)
  10. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}.
       *
       * <p><b>Warning: do not use</b> this method when the collections returned by {@code factory}
       * implement either {@link List} or {@code Set}! Use the more specific method {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top