- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for toBloomFilter (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
BloomFilter<String> bf1 = BloomFilter.create(unencodedCharsFunnel(), 2); bf1.put("1"); bf1.put("2"); assertEquals(bf1, Stream.of("1", "2").collect(toBloomFilter(unencodedCharsFunnel(), 2))); assertEquals(bf1, Stream.of("2", "1").collect(toBloomFilter(unencodedCharsFunnel(), 2))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
*/ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static <T extends @Nullable Object> Collector<T, ?, BloomFilter<T>> toBloomFilter( Funnel<? super T> funnel, long expectedInsertions) { return toBloomFilter(funnel, expectedInsertions, 0.03); } /** * Returns a {@code Collector} expecting the specified number of insertions, and yielding a {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0)