Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 423 for getKey (0.25 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                                        return request.getSystemProperties().entrySet().stream()
                                                .collect(Collectors.toMap(
                                                        e -> e.getKey().toString(),
                                                        e -> e.getValue().toString()));
                                    } else if ("getUserProperties".equals(method.getName())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(newValue, cache.getUnchecked(entry.getKey()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
          expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
        }
        expectContents(expectedEntries);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                        for (Object object : elements) {
                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
                          map.putInstance(entry.getKey(), entry.getValue());
                        }
                        return (Map) map;
                      }
                    })
                .named("MutableTypeToInstanceMap")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            public Object getKey() {
                return metadata.toString();
            }
    
            public String getRemoteFilename() {
                return metadata.getType();
            }
    
            public String getLocalFilename(ArtifactRepository repository) {
                return insertRepositoryKey(getRemoteFilename(), repository.getKey());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                        final Boolean b = (Boolean) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), b.toString()));
                        break;
                    case NUMBER:
                        final Number d = (Number) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), d.toString()));
                        break;
                    case STRING:
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            depth = parent.depth + 1;
            parents = new ArrayList<>();
            parents.addAll(parent.parents);
            parents.add(parent.getKey());
            this.parent = parent;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    
        public Object getKey() {
            return artifact.getDependencyConflictId();
        }
    
        public void addDependencies(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top