- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toBloomFilter (0.68 sec)
-
android/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))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
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))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0)