Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 439 for setKey (0.12 sec)

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

          BiMap<Country, String> result = EnumHashBiMap.create(Country.class);
          for (Object o : entries) {
            Entry<Country, String> entry = (Entry<Country, String>) o;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                    for (Map.Entry<String, ArtifactRepository> v : versionIndex.entrySet()) {
                        try {
                            Version ver = versionScheme.parseVersion(v.getKey());
                            if (versionConstraint.containsVersion(ver)) {
                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            HashSet<String> sys = new HashSet<>(invokerRequest.systemProperties().keySet());
            invokerRequest.userProperties().entrySet().stream()
                    .filter(k -> !sys.contains(k.getKey()))
                    .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            System.setProperty(
                    Constants.MAVEN_HOME, invokerRequest.installationDirectory().toString());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

            return result;
          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue());
            toRemove = null;
          }
        };
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                                            + "This plugin was pulled from the local repository!",
                                    project.getName(),
                                    plugin.getKey());
                        }
                    }
                }
            }
        }
    
        private void processPackagingAttribute(List<MavenProject> projects, MavenExecutionRequest request)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        boolean changed = false;
        for (Entry<? extends K, ? extends V> entry : multimap.entries()) {
          changed |= put(entry.getKey(), entry.getValue());
        }
        return changed;
      }
    
      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        assertNull("put(null, null) should return null", put(nullKeyValueEntry));
        expectAdded(nullKeyValueEntry);
      }
    
      @CanIgnoreReturnValue
      private V put(Entry<K, V> entry) {
        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
       * {@link java.util.TreeMap} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                final PDComplexFileSpecification spec = ent.getValue();
                if (spec != null) {
                    final PDEmbeddedFile embeddedFile = getEmbeddedFile(spec);
                    extractFile(ent.getKey(), embeddedFile, writer);
                }
            }
        }
    
        protected PDEmbeddedFile getEmbeddedFile(final PDComplexFileSpecification fileSpec) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    if (headerFieldMap != null) {
                        for (final Map.Entry<String, List<String>> entry : headerFieldMap.entrySet()) {
                            responseData.addMetaData(entry.getKey(), entry.getValue());
                        }
                    }
    
                    if (file.canRead()) {
                        final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top