Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 275 for EntrySet (0.04 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                assertTrue(
                        doc.entrySet()
                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())),
                        doc.toString());
                assertFalse(
                        doc.entrySet()
                                .stream()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Serialization.java

       */
      static <E extends @Nullable Object> void writeMultiset(
          Multiset<E> multiset, ObjectOutputStream stream) throws IOException {
        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          }
        };
      }
    
      @Override
      public Set<Entry<Class<? extends @NonNull B>, B>> entrySet() {
        return new ForwardingSet<Entry<Class<? extends @NonNull B>, B>>() {
    
          @Override
          protected Set<Entry<Class<? extends @NonNull B>, B>> delegate() {
            return MutableClassToInstanceMap.this.delegate().entrySet();
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. 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 = new HashMap<>(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. android/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)
  9. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       */
      ALLOWS_NULL_VALUE_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
       * entrySet().contains(null)} or {@code entrySet().remove(null)}
       */
      ALLOWS_NULL_ENTRY_QUERIES,
      /**
       * The map does not throw {@code NullPointerException} on any {@code null} queries.
       *
       * @see #ALLOWS_NULL_KEY_QUERIES
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertEquals(0, map.size());
    
        cache.getUnchecked(one);
        Map<Object, Object> newMap = ImmutableMap.of(one, one);
        assertEquals(newMap, map);
        assertEquals(newMap.entrySet(), map.entrySet());
        assertEquals(newMap.keySet(), map.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top