Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 361 for entrySet (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testAsMapEntrySetReflectsPutSameKey() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
    
        Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet();
        Collection<V> valueCollection = getOnlyElement(asMapEntrySet).getValue();
        assertContentsAnyOrder(valueCollection, v0(), v3());
        assertTrue(multimap().put(k0(), v4()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
        for (int i = 0; i < entries.size(); i++) {
          assertEqualInOrder(
              entries.subList(0, i), navigableMap.headMap(entries.get(i).getKey()).entrySet());
        }
      }
    
      public void testTailMap() {
        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testAsMapEntrySetReflectsPutSameKey() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3()));
    
        Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet();
        Collection<V> valueCollection = getOnlyElement(asMapEntrySet).getValue();
        assertContentsAnyOrder(valueCollection, v0(), v3());
        assertTrue(multimap().put(k0(), v4()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        Collection<V> vs = values;
        return (vs != null) ? vs : (values = new Values(this));
      }
    
      Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        // does not impact recency ordering
        Set<Entry<K, V>> es = entrySet;
        return (es != null) ? es : (entrySet = new EntrySet(this));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

        ImmutableMap<String, String> expected =
            ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy");
        assertThat(m).isEqualTo(expected);
        assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder();
      }
    
      public void testMapSplitter_trimmedEntries() {
        Map<String, String> m =
            COMMA_SPLITTER
                .trimResults()
                .withKeyValueSeparator(":")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapValues.java

          @Override
          public boolean hasNext() {
            return entryItr.hasNext();
          }
    
          @Override
          public V next() {
            return entryItr.next().getValue();
          }
        };
      }
    
      @Override
      public Spliterator<V> spliterator() {
        return CollectSpliterators.map(map.entrySet().spliterator(), Entry::getValue);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/SparseImmutableTable.java

        for (Entry<R, Map<C, V>> row : rows.entrySet()) {
          rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue()));
        }
        this.rowMap = rowBuilder.buildOrThrow();
    
        ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder =
            new ImmutableMap.Builder<>(columns.size());
        for (Entry<C, Map<R, V>> col : columns.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        TestHashSet<Entry<String>> entrySet = new TestHashSet<>();
        when((Comparator<Comparable<String>>) toCopy.comparator())
            .thenReturn(Ordering.<Comparable<String>>natural());
        when(toCopy.entrySet()).thenReturn(entrySet);
        ImmutableSortedMultiset<String> unused = ImmutableSortedMultiset.copyOfSorted(toCopy);
        assertTrue(entrySet.toArrayCalled);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumMap.java

      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
        return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator());
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.map(delegate.entrySet().spliterator(), Maps::unmodifiableEntry);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                }
            }
            form.fields.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> {
                final String key = LaFunctions.u(e.getKey());
                stream(e.getValue()).of(stream -> stream.filter(StringUtil::isNotBlank)
                        .forEach(s -> pagingQueryList.add("fields." + key + "=" + LaFunctions.u(s))));
            });
            form.as.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top