Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 326 for entrySet (0.05 sec)

  1. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithEntrySetIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              getMap().clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return CollectSpliterators.map(submap.entrySet().spliterator(), AsMap.this::wrapEntry);
          }
    
          // The following methods are included for performance.
    
          @Override
          public boolean contains(@Nullable Object o) {
            return Collections2.safeContains(submap.entrySet(), o);
          }
    
          @Override
          public boolean remove(@Nullable Object o) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
        assertEquals(a, navigableMap.pollFirstEntry());
        assertEquals(entries.subList(1, entries.size()), copyToList(navigableMap.entrySet()));
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollFirstEntry());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
        assertEquals(a, navigableMap.pollFirstEntry());
        assertEquals(entries.subList(1, entries.size()), copyToList(navigableMap.entrySet()));
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollFirstEntry());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        List<Entry<V, K>> reversedEntries = new ArrayList<>();
        for (Entry<K, V> entry : expected) {
          reversedEntries.add(reverseEntry(entry));
        }
        assertEqualIgnoringOrder(getMap().inverse().entrySet(), reversedEntries);
    
        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static <K, T extends Map<K, Artifact>> T copyArtifacts(Map<K, ? extends Artifact> from, T to) {
            if (from != null) {
                for (Map.Entry<K, ? extends Artifact> entry : from.entrySet()) {
                    to.put(entry.getKey(), ArtifactUtils.copyArtifact(entry.getValue()));
                }
            }
    
            return to;
        }
    
        private static <T> List<T> copyList(List<T> original) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            try {
                // feature
                for (final Map.Entry<String, String> entry : featureMap.entrySet()) {
                    parser.setFeature(entry.getKey(), "true".equalsIgnoreCase(entry.getValue()));
                }
    
                // property
                for (final Map.Entry<String, String> entry : propertyMap.entrySet()) {
                    parser.setProperty(entry.getKey(), entry.getValue());
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeMap.java

                return removeEntryIf(compose(not(in(c)), Maps.<Range<K>>keyFunction()));
              }
            };
          }
    
          @Override
          public Set<Entry<Range<K>, V>> entrySet() {
            return new Maps.EntrySet<Range<K>, V>() {
              @Override
              Map<Range<K>, V> map() {
                return SubRangeMapAsMap.this;
              }
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top