- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for unfiltered (0.07 sec)
-
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
unfiltered.put("one", 1); unfiltered.put("two", 2); unfiltered.put("three", 3); unfiltered.put("four", 4); Map<String, Integer> filtered = Maps.filterValues(unfiltered, EVEN); assertEquals(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4), unfiltered); assertEquals(ImmutableMap.of("two", 2, "four", 4), filtered); filtered.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
unfiltered.put("foo", 55556); unfiltered.put("badkey", 1); unfiltered.put("foo", 1); Multimap<String, Integer> keyFiltered = filterKeys(unfiltered, KEY_PREDICATE); Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE); assertEquals(1, filtered.size()); assertTrue(filtered.containsEntry("foo", 1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
final Collection<E> unfiltered; final Predicate<? super E> predicate; FilteredCollection(Collection<E> unfiltered, Predicate<? super E> predicate) { this.unfiltered = unfiltered; this.predicate = predicate; } FilteredCollection<E> createCombined(Predicate<? super E> newPredicate) { return new FilteredCollection<>(unfiltered, Predicates.and(predicate, newPredicate)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 22.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
super(true, true, false); } private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("zero", 55556); unfiltered.put("one", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
final Multimap<K, V> unfiltered; final Predicate<? super Entry<K, V>> predicate; FilteredEntryMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { this.unfiltered = checkNotNull(unfiltered); this.predicate = checkNotNull(predicate); } @Override public Multimap<K, V> unfiltered() { return unfiltered; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
unfiltered.put("foo", 55556); unfiltered.put("badkey", 1); unfiltered.put("foo", 1); Multimap<String, Integer> keyFiltered = filterKeys(unfiltered, KEY_PREDICATE); Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE); assertEquals(1, filtered.size()); assertTrue(filtered.containsEntry("foo", 1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
super(true, true, false); } private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("zero", 55556); unfiltered.put("one", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (int i = 0; i < 10; i++) { assertEquals(unfiltered.lower(i), filtered.lower(i)); assertEquals(unfiltered.floor(i), filtered.floor(i)); assertEquals(unfiltered.ceiling(i), filtered.ceiling(i)); assertEquals(unfiltered.higher(i), filtered.higher(i)); } } } } private FilteredCollectionsTestUtil() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return (unfiltered instanceof AbstractFilteredMap) ? filterFiltered((AbstractFilteredMap<K, V>) unfiltered, entryPredicate) : new FilteredEntryMap<K, V>(checkNotNull(unfiltered), entryPredicate); } /** * Returns a sorted map containing the mappings in {@code unfiltered} that satisfy a predicate. * The returned map is a live view of {@code unfiltered}; changes to one affect the other. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)