Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,832 for collector (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

              }
            };
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
       *   <li>invoking the {@code finalize} methods of unreachable objects
       *   <li>clearing weak references to unreachable referents
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

        checkArgument(fpp < 1.0, "False positive probability (%s) must be < 1.0", fpp);
        return Collector.of(
            () -> BloomFilter.create(funnel, expectedInsertions, fpp),
            BloomFilter::put,
            (bf1, bf2) -> {
              bf1.putAll(bf2);
              return bf1;
            },
            Collector.Characteristics.UNORDERED,
            Collector.Characteristics.CONCURRENT);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

            int outerTagNo = (outerTagNoOverride != null) ? outerTagNoOverride : 0;
    
            ByteArrayOutputStream collector = new ByteArrayOutputStream();
            ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
            try {
                DERTaggedObject applicationWrapper = new DERTaggedObject(false, BERTags.APPLICATION, outerTagNo, new DERSequence(ev));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

            new LineProcessor<List<String>>() {
              final 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.ImmutableSetMultimap.flatteningToImmutableSetMultimap;
    import static com.google.common.collect.ImmutableSetMultimap.toImmutableSetMultimap;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        List<Profile> getActiveExternalProfiles();
    
        /**
         * Gets the problem collector that collected problems encountered during the project building.
         *
         * @return the problem collector that collected problems encountered during the project building
         */
        @Nonnull
        ProblemCollector<ModelProblem> getProblemCollector();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

                return collector;
              }
            };
        assertThat(Files.readLines(temp, UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, UTF_8, collect);
        assertThat(collect.getResult()).containsExactly("hello", "", " world  ", "").inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
        return saturatedAdd(hitCount, missCount);
      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Comparators.isInOrder;
    import static com.google.common.collect.ImmutableSortedSet.toImmutableSortedSet;
    import static com.google.common.collect.Iterables.elementsEqual;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top