Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 299 for EntrySet (0.09 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

        return ImmutableSet.unsafeDelegate(
            new ForwardingSet<Entry<K, V>>() {
              @Override
              protected Set<Entry<K, V>> delegate() {
                return delegate.entrySet();
              }
    
              @Override
              public boolean contains(@Nullable Object object) {
                if (object instanceof Entry<?, ?> && ((Entry<?, ?>) object).getKey() == null) {
                  return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger);
    
            // populate the provides section
            Properties provides = model.getProvides();
            for (Entry<Object, Object> provide : provides.entrySet()) {
                String key = (String) provide.getKey();
                String value = (String) provide.getValue();
    
                if (value == null) {
                    throw new MisconfiguredToolchainException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Joiner.java

         */
        @CanIgnoreReturnValue
        public <A extends Appendable> A appendTo(A appendable, Map<?, ?> map) throws IOException {
          return appendTo(appendable, map.entrySet());
        }
    
        /**
         * Appends the string representation of each entry of {@code map}, using the previously
         * configured separator and key-value separator, to {@code builder}. Identical to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableListMultimap.java

          ImmutableListMultimap<K, V> kvMultimap = (ImmutableListMultimap<K, V>) multimap;
          if (!kvMultimap.isPartialView()) {
            return kvMultimap;
          }
        }
    
        return fromMapEntries(multimap.asMap().entrySet(), null);
      }
    
      /**
       * Returns an immutable multimap containing the specified entries. The returned multimap iterates
       * over keys in the order they were first encountered in the input, and the values for each key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
      }
    
      @CollectionSize.Require(ZERO)
      public void testIsEmptyYes() {
        assertTrue(multimap().isEmpty());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /**
       * @see AbstractContainerTester#resetContainer()
       */
      protected final void resetMap() {
        resetContainer();
      }
    
      protected void resetMap(Entry<K, V>[] entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

        testToString_formatting();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_formatting() {
        assertEquals(
            "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString());
      }
    
      private String expectedToString(Set<Entry<K, V>> entries) {
        Map<K, V> reference = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    /**
     * This class provides a skeletal implementation of the {@link SortedMultiset} interface.
     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          ImmutableListMultimap<K, V> kvMultimap = (ImmutableListMultimap<K, V>) multimap;
          if (!kvMultimap.isPartialView()) {
            return kvMultimap;
          }
        }
    
        return fromMapEntries(multimap.asMap().entrySet(), null);
      }
    
      /**
       * Returns an immutable multimap containing the specified entries. The returned multimap iterates
       * over keys in the order they were first encountered in the input, and the values for each key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top