Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for ToMap (0.02 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        }
    
        public Map<MavenProject, ProjectSegment> selectSegment(TaskSegment taskSegment) {
            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
                    .collect(Collectors.toMap(ProjectSegment::getProject, Function.identity()));
        }
    
        /**
         * Finds the first ProjectSegment matching the supplied project
         * @param mavenProject the requested project
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThrows(
            NullPointerException.class,
            () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo")));
      }
    
      public void testToMapWithNullValues() {
        Iterable<String> strings = ImmutableList.of("one", "two", "three");
        assertThrows(NullPointerException.class, () -> Maps.toMap(strings, Functions.constant(null)));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                modelBuildingRequest.inactiveProfileIds(request.getInactiveProfileIds());
                modelBuildingRequest.systemProperties(toMap(request.getSystemProperties()));
                modelBuildingRequest.userProperties(toMap(request.getUserProperties()));
                modelBuildingRequest.repositoryMerging(ModelBuilderRequest.RepositoryMerging.valueOf(
                        request.getRepositoryMerging().name()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                return registry != null
                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final int y = DfTypeUtil.toInteger(v[1].trim());
                        return new Pair<>(x, y);
                    }
                    return null;
                }).filter(v -> v != null).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                propMap.put(SMB_AVAILABLE_SID_TYPES, params);
            }
            return params.get(sidType);
        }
    
        String getSupportedLanguages();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                    value = value.replace("${" + entry.getKey() + "}", entry.getValue());
                }
                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond));
            final Map<String, String> configScriptMap = config.getHandlerScriptMap();
    
            initParamMap.putAll(configParamMap);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToMap() {
        assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet())
            .containsExactly(immutableEntry(1, "1"), immutableEntry(2, "2"), immutableEntry(3, "3"))
            .inOrder();
      }
    
      public void testToMap_nullKey() {
        assertThrows(
            NullPointerException.class, () -> fluent(1, null, 2).toMap(Functions.constant("foo")));
      }
    
      public void testToMap_nullValue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                final GetObjectTaggingResponse response = s3Client.getObjectTagging(request);
                return response.tagSet().stream().collect(Collectors.toMap(Tag::key, Tag::value));
            } catch (final Exception e) {
                throw new StorageException("Failed to get tags from " + objectName, e);
            }
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                    new TreeMap<>(new PhaseComparator(lifecycle.getPhases()));
    
            Map<String, String> aliases = lifecycle.getDelegate().aliases().stream()
                    .collect(Collectors.toMap(a -> a.v3Phase(), a -> a.v4Phase()));
    
            if (aliases.containsKey(lifecyclePhase)) {
                lifecyclePhase = PhaseId.of(aliases.get(lifecyclePhase)).phase();
            }
    
            boolean passed = false;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import org.apache.maven.jline.MessageUtils;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.createInterpolator;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public class CommonsCliOptions implements Options {
        public static CommonsCliOptions parse(String source, String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top