Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 361 for entrySet (0.09 sec)

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

        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

    import java.util.Map.Entry;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@code entrySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        return new EntrySet<>(this, alternatingKeysAndValues, 0, size);
      }
    
      static class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> {
        private final transient ImmutableMap<K, V> map;
        private final transient @Nullable Object[] alternatingKeysAndValues;
        private final transient int keyOffset;
        private final transient int size;
    
        EntrySet(
            ImmutableMap<K, V> map,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test asMap().entrySet()
        assertSetIsUnmodifiable(
            multimap.asMap().entrySet(), immutableEntry(sampleKey, sampleValueAsCollection));
    
        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              SerializableTester.reserializeAndAssert(asMap);
              SerializableTester.reserializeAndAssert(descendingMap);
              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                final Object searchFieldObj = source.get("searchField");
                if (searchFieldObj instanceof Map) {
                    ((Map<String, ?>) searchFieldObj).entrySet().stream().forEach(e -> {
                        if (e.getValue() instanceof String[]) {
                            final String[] values = (String[]) e.getValue();
                            for (final String v : values) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            downloads.put(resource, event.getTransferredBytes());
    
            StringBuilder buffer = new StringBuilder(64);
    
            for (Map.Entry<TransferResource, Long> entry : downloads.entrySet()) {
                long total = entry.getKey().getContentLength();
                long complete = entry.getValue();
    
                buffer.append(getStatus(complete, total)).append("  ");
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                throw new RuntimeCIFSException("Failed to set request method", e);
            }
            this.headerFields = null;
            for ( Entry<String, List<String>> property : this.connection.getRequestProperties().entrySet() ) {
                String key = property.getKey();
                StringBuffer value = new StringBuffer();
                Iterator<String> values = property.getValue().iterator();
                while ( values.hasNext() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top