Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 365 for getKeys (0.27 seconds)

  1. src/test/java/org/codelibs/fess/util/DocMapTest.java

            docMap.put("banana", "value3");
    
            Set<Map.Entry<String, Object>> entrySet = docMap.entrySet();
            assertEquals(4, entrySet.size());
    
            String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new);
    
            boolean langFirst = "lang".equals(keys[0]);
            assertTrue("lang should be first or sorted normally", langFirst || Arrays.asList(keys).contains("lang"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/StandardTable.java

          while (true) {
            if (entryIterator.hasNext()) {
              Entry<C, V> entry = entryIterator.next();
              if (!seen.containsKey(entry.getKey())) {
                seen.put(entry.getKey(), entry.getValue());
                return entry.getKey();
              }
            } else if (mapIterator.hasNext()) {
              entryIterator = mapIterator.next().entrySet().iterator();
            } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/RegularImmutableMap.java

          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[entryIndex]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int tableIndex = Hashing.smear(key.hashCode()) & mask;
          ImmutableMapEntry<K, V> keyBucketHead = table[tableIndex];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
      }
    
      public static class ImmutableMapValuesAsSingletonSetGenerator
          implements TestMapGenerator<String, Collection<Integer>> {
    
        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              builder.add(mapEntry(entry.getKey(), v));
            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
          for (Entry<K, V> entry : ordered) {
            orderedMap.put(entry.getKey(), map.get(entry.getKey()));
          }
          return orderedMap.entrySet();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Entry<String, Collection<Integer>> entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("foo");
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("google");
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("tree");
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              builder.add(mapEntry(entry.getKey(), v));
            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
          for (Entry<K, V> entry : ordered) {
            orderedMap.put(entry.getKey(), map.get(entry.getKey()));
          }
          return orderedMap.entrySet();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.8K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                        String key = attributeDoc.getKey();
                        if (inheritedValueTitleMapping.get(key) != null) {
                            ExtraAttributeDoc newAttribute = new ExtraAttributeDoc(inheritedValueTitleMapping.get(key), attributeDoc.getValueCell());
                            additionalValues.put(newAttribute.getKey(), newAttribute);
                        } else {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
Back to Top