Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 813 for collectors (0.11 sec)

  1. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
                .add(LONG_NAME, Collections.singletonMap("k2", "v2"))
                .addValue(Collections.singletonMap("k3", "v3"))
                .addValue(Collections.emptyMap())
                .addValue(null)
                .add(SHORT_NAME, java.util.Optional.of("1"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       */
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableSetMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableSetMultimap}. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    Lkotlin/collections/CollectionsKt___CollectionsKt;
    Lkotlin/collections/EmptyIterator;
    Lkotlin/collections/EmptyList;
    Lkotlin/collections/EmptyMap;
    Lkotlin/collections/EmptySet;
    Lkotlin/collections/IntIterator;
    Lkotlin/collections/MapsKt__MapsJVMKt;
    Lkotlin/collections/MapsKt___MapsKt;
    Lkotlin/collections/SetsKt__SetsKt;
    Lkotlin/collections/builders/ListBuilder$Itr;
    Lkotlin/collections/builders/ListBuilder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

    public abstract class ImmutableList<E> extends ImmutableCollection<E>
        implements List<E>, RandomAccess {
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableList}, in encounter order.
       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() {
        return CollectCollectors.toImmutableList();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ResourcesTest.java

            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * <pre>{@code
     * List<String> expectedElements =
     *     Arrays.asList("a", "b", "c", "d", "e");
     * List<String> actualElements =
     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static java.util.Collections.sort;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Random;
    import java.util.Set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

            this.mechanism = mechanism;
        }
    
    
        @Override
        public byte[] toByteArray () {
            try {
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
                ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
                ASN1EncodableVector fields = new ASN1EncodableVector();
                int res = getResult();
                if ( res != UNSPECIFIED_RESULT ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top