- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 155 for filter (0.19 sec)
-
android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
} public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
@Override Collection<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) { return Collections2.filter(elements, predicate); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 16 21:55:55 GMT 2022 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 16 21:55:55 GMT 2022 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN); NavigableSet<Integer> unfiltered = createUnfiltered(filtered); assertEquals(unfiltered.pollLast(), filtered.pollLast()); assertEquals(unfiltered, filtered); } } public void testNavigation() { for (List<Integer> contents : SAMPLE_INPUTS) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
} /** * Combines this Bloom filter with another Bloom filter by performing a bitwise OR of the * underlying data. The mutations happen to <b>this</b> instance. Callers must ensure the Bloom * filters are appropriately sized to avoid saturating them. * * @param that The Bloom filter to combine this Bloom filter with. It is not mutated. * @throws IllegalArgumentException if {@code isCompatible(that) == false}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered * multimap or its views, only mappings whose keys satisfy the filter will be removed from the * underlying multimap. * * <p>The returned multimap isn't threadsafe or serializable, even if {@code unfiltered} is. * * <p>Many of the filtered multimap's methods, such as {@code size()}, iterate across every
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 86.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
static final int MAX_SIZE = 1023; private final char[] table; private final boolean containsZero; private final long filter; private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) { super(description); this.table = table; this.filter = filter; this.containsZero = containsZero; } private static final int C1 = 0xcc9e2d51;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Parameter.java
checkNotNull(annotationType); return FluentIterable.from(annotations).filter(annotationType).first().orNull(); } /** * @since 18.0 */ @Override public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) { @Nullable A[] result = FluentIterable.from(annotations).filter(annotationType).toArray(annotationType);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN); NavigableSet<Integer> unfiltered = createUnfiltered(filtered); assertEquals(unfiltered.pollLast(), filtered.pollLast()); assertEquals(unfiltered, filtered); } } public void testNavigation() { for (List<Integer> contents : SAMPLE_INPUTS) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
} }; } private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT = ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar"); private static final Predicate<String> PREDICATE = Predicates.not(Predicates.in(ELEMENTS_TO_FILTER_OUT)); private static TestStringMultisetGenerator filteredGenerator() { return new TestStringMultisetGenerator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 9.3K bytes - Viewed (0)