Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for ToMap (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java

                        .stream()
                        .filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            myLifecycles.add(myLifecycle);
            myLifecycles.addAll(defaultLifeCycles.getLifeCycles());
    
            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    /**
     * Describes the environmental context used to determine the activation status of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

                        .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) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        /**
         * {@return the dependency scope for the given identifier, or {@code null} if none}.
         * The identifiers are usually in lower cases with {@code '-'} instead of {@code '_'}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 19 14:33:26 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. cmd/data-usage-cache.go

    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    // toMap returns the map to a map[string]uint64.
    func (h *sizeHistogram) toMap() map[string]uint64 {
    	res := make(map[string]uint64, dataUsageBucketLen)
    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.CliUtils.prefix;
    import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public abstract class BaseParser implements Parser {
    
        @SuppressWarnings("VisibilityModifier")
        public static class LocalContext {
            public final ParserRequest parserRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

            this[Http2::class.java.name] = "okhttp.Http2"
            this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
            this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
          }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            return path.toAbsolutePath().normalize();
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
            HashMap<String, String> map = new HashMap<>();
            for (String key : properties.stringPropertyNames()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top