Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 299 for EntrySet (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o);
            builder.put(entry);
          }
          return builder.build().entrySet().asList();
        }
      }
    
      public static class ImmutableSortedMapKeyListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        }
      }
    
      public void testEntrySetValueAfterRemoved() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
        map.put(1, "1");
        Entry<Integer, String> entry = getOnlyElement(map.entrySet());
        map.remove(1);
        entry.setValue("one");
        assertThat(map).containsEntry(1, "one");
      }
    
      public void testAllocArraysDefault() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o);
            builder.put(entry);
          }
          return builder.build().entrySet().asList();
        }
      }
    
      public static class ImmutableSortedMapKeyListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. 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 Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      public void testRemovePresentConcurrentWithEntrySetIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              getMap().remove(k0());
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        public SortedMultiset<E> descendingMultiset() {
          return new StandardDescendingMultiset() {
    
            @Override
            Iterator<Entry<E>> entryIterator() {
              return backingMultiset.descendingMultiset().entrySet().iterator();
            }
          };
        }
    
        @Override
        public NavigableSet<E> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            }
            if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                getWebConfig().getConfigParameterMap(ConfigName.CONFIG)
                        .entrySet()
                        .stream()
                        .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX))
                        .forEach(e -> {
                            props.setProperty(e.getKey(), e.getValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top