Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for ToMap (0.04 sec)

  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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. 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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonMap;
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Preconditions;
    import java.util.Collection;
    import java.util.Comparator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectCollectors.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonMap;
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Preconditions;
    import java.util.Collection;
    import java.util.Comparator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. 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 '_'}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_test.go

    			},
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) {
    			var h sizeHistogram
    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. 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)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final <V> ImmutableMap<@NonNull E, V> toMap(Function<? super E, V> valueFunction) {
        return Maps.toMap((Iterable<@NonNull E>) getDelegate(), valueFunction);
      }
    
      /**
       * Creates an index {@code ImmutableListMultimap} that contains the results of applying a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
Back to top