- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 94 for Filters (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
@Override NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) { return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 16 21:55:55 GMT 2022 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* <p><b>{@code Stream} equivalent:</b> {@link Stream#filter}. */ public static <T extends @Nullable Object> Iterable<T> filter( final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) { checkNotNull(unfiltered); checkNotNull(retainIfTrue); return new FluentIterable<T>() { @Override public Iterator<T> iterator() { return Iterators.filter(unfiltered.iterator(), retainIfTrue); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 49.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* removed from the underlying multiset. * * <p>The returned multiset isn't threadsafe or serializable, even if {@code unfiltered} is. * * <p>Many of the filtered multiset's methods, such as {@code size()}, iterate across every * element in the underlying multiset and determine which elements satisfy the filter. When a live
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
return map.entrySet().remove(o); } @Override public boolean removeIf(Predicate<? super Entry<String, String>> filter) { return map.entrySet().removeIf(filter); } @Override public boolean containsAll(Collection<?> c) { return map.entrySet().containsAll(c); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysFalse()); List<String> expected = Collections.emptyList(); List<String> actual = Lists.newArrayList(filtered); assertEquals(expected, actual); } public void testFilterMatchAll() { Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator(); Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysTrue());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
// Policy.setPolicy(permissivePolicy()); // System.setSecurityManager(new SecurityManager()); // } // int iters = (args.length == 0) ? 1 : Integer.parseInt(args[0]); // Test s = suite(); // for (int i = 0; i < iters; ++i) { // junit.textui.TestRunner.run(s); // System.gc(); // System.runFinalization(); // }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* will not reflect any subsequent changes to the cause chain. * * <p>Here's an example of how it can be used to find specific types of exceptions in the cause * chain: * * <pre> * Iterables.filter(Throwables.getCausalChain(e), IOException.class)); * </pre> * * @param throwable the non-null {@code Throwable} to extract causes from
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
} private static Type[] toArray(Collection<Type> types) { return types.toArray(new Type[0]); } private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) { return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class))); } private static void disallowPrimitiveType(Type[] types, String usedAs) { for (Type type : types) { if (type instanceof Class) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0)