Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 279 for entryLen (0.13 sec)

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

       * efficient than iterating over the {@link #entrySet()} either explicitly or with {@code
       * entrySet().forEach(action)}.
       *
       * @since 21.0
       */
      default void forEachEntry(ObjIntConsumer<? super E> action) {
        checkNotNull(action);
        entrySet().forEach(entry -> action.accept(entry.getElement(), entry.getCount()));
      }
    
      // Comparison and hashing
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = Maps.newHashMap(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                values.add(value);
                key = connection.getHeaderFieldKey(i);
                value = connection.getHeaderField(i);
            }
            Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List)
                        entry.getValue()));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                 * Except for this unusual case, tests should never be added to the module-path.
                 */
                for (Map.Entry<Path, String> entry : testModules.getModuleNames().entrySet()) {
                    if (!outputModules.containsModule(entry.getValue())) {
                        addPathElement(JavaPathType.MODULES, entry.getKey());
                        addToClasspath = false;
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

            Map<Class<?>, SerializerFactory<?>> matches = new LinkedHashMap<Class<?>, SerializerFactory<?>>();
            for (Map.Entry<Class<?>, SerializerFactory<?>> entry : serializerMap.entrySet()) {
                if (baseType.isAssignableFrom(entry.getKey())) {
                    matches.put(entry.getKey(), entry.getValue());
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns an immutable set of the mappings in this map. The iteration order is specified by the
       * method used to create this map. Typically, this is insertion order.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
        ImmutableSet<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test asMap().entrySet()
        assertSetIsUnmodifiable(
            multimap.asMap().entrySet(), Maps.immutableEntry(sampleKey, sampleValueAsCollection));
    
        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

          }
        }
      }
    
      @LazyInit private transient Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = new EntrySet() : result;
      }
    
      final class EntrySet extends View<K, V, Entry<K, V>> {
        EntrySet() {
          super(HashBiMap.this);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        ImmutableSet<Entry<K, V>> result = entries;
        return result == null ? (entries = new EntrySet<>(this)) : result;
      }
    
      private static final class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> {
        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        assertEquals(
            "multiset.count() should return the value passed to setCount()",
            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top