Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 447 for entries_ (0.06 sec)

  1. guava/src/com/google/common/collect/SortedSetMultimap.java

     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * SortedSet} of values, while {@link Multimap#entries()} returns a {@link Set} of map entries.
     * Though the method signature doesn't say so explicitly, the map returned by {@link #asMap} has
     * {@code SortedSet} values.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. cmd/metacache-bucket.go

    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    // cleanup removes redundant and outdated entries.
    func (b *bucketMetacache) cleanup() {
    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

            return of();
          } else {
            return new ImmutableClassToInstanceMap<>(map);
          }
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

      public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator {
        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

                      @Override
                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap = HashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/HashMultimapTest.java

                      @Override
                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap = HashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

      public void testSize() {
        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
     * @author Ben Yu
     * @since 13.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeToInstanceMap.java

     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * @param <B> the common supertype that all entries must share; often this is simply {@link Object}
     * @author Ben Yu
     * @since 13.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Entry<Integer, Integer>[] builderArray = builder.entries;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Entry<Integer, Integer>[] builderArrayAfterPuts = builder.entries;
        RegularImmutableBiMap<Integer, Integer> map =
            (RegularImmutableBiMap<Integer, Integer>) builder.build();
        Entry<Integer, Integer>[] mapInternalArray = map.entries;
        assertSame(builderArray, builderArrayAfterPuts);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top