Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,031 for value1 (0.16 sec)

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

       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Consequently, the values do not follow their natural ordering or the ordering of the value
       * comparator.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        // Populate the results list with null initially.
        for (int i = 0; i < futures.size(); ++i) {
          values.add(null);
        }
    
        this.values = values;
      }
    
      @Override
      final void collectOneValue(int index, @ParametricNullness V returnValue) {
        List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          localValues.set(index, new Present<>(returnValue));
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SetMultimap.java

     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
     * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface.
     *
     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
      boolean containsValue(@CompatibleWith("V") @CheckForNull Object value);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key} and the value {@code value}.
       */
      boolean containsEntry(
          @CompatibleWith("K") @CheckForNull Object key,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        resetContainer();
      }
    
      protected void assertGet(K key, V... values) {
        assertGet(key, Arrays.asList(values));
      }
    
      protected void assertGet(K key, Collection<? extends V> values) {
        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), Lists.newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
       * equivalently, if this inverse view contains a key that is equal to {@code value}).
       *
       * <p>Due to the property that values in a BiMap are unique, this will tend to execute in
       * faster-than-linear time.
       *
       * @param value the object to search for in the values of this BiMap
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

       * This method will reorder the values with indexes in the range [{@code from}, {@code to}] such
       * that all the values with indexes in the range [{@code from}, {@code required}) are less than or
       * equal to the value with index {@code required}, and all the values with indexes in the range
       * ({@code required}, {@code to}] are greater than or equal to that value. Therefore, the value at
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

          K k = entry.getKey();
          V v = entry.getValue();
    
          Set<V> values = multimap().get(k);
          Set<V> expectedValues = copyToSet(values);
    
          assertFalse(multimap().put(k, v));
          assertEquals(expectedValues, values);
          assertGet(k, expectedValues);
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue_null() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.7K bytes
    - Viewed (0)
Back to top