Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 326 for EntrySet (0.04 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      @Override
      public Set<Entry<TypeToken<? extends @NonNull B>, B>> entrySet() {
        return UnmodifiableEntry.transformEntries(super.entrySet());
      }
    
      @Override
      protected Map<TypeToken<? extends @NonNull B>, B> delegate() {
        return backingMap;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. android/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.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).containsExactly(value1, value2);
          assertEquals(
              ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)),
              cache.asMap().entrySet());
        }
      }
    
      public void testInvalidate() {
        for (LoadingCache<Key, String> cache : caches()) {
          Key key1 = new Key(1);
          String value1 = key1.toString();
          Key key2 = new Key(2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            provides.put(type, matcher);
        }
    
        @Override
        public boolean matchesRequirements(Map<String, String> requirements) {
            for (Map.Entry<String, String> requirement : requirements.entrySet()) {
                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/entity/ParamMap.java

        }
    
        @Override
        public Collection<V> values() {
            return parent.values();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
            // return original keys
            return parent.entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return parent.equals(o);
        }
    
        @Override
        public int hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractTable.java

            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
                    row.entrySet(), immutableEntry(cell.getColumnKey(), cell.getValue()));
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          if (o instanceof Cell) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top