Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for unfiltered (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/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
    - 161.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      final Multimap<K, V> unfiltered;
      final Predicate<? super K> keyPredicate;
    
      FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        this.unfiltered = checkNotNull(unfiltered);
        this.keyPredicate = checkNotNull(keyPredicate);
      }
    
      @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
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

          Set<E> unfiltered, Predicate<? super E> predicate) {
        if (unfiltered instanceof SortedSet) {
          return filter((SortedSet<E>) unfiltered, predicate);
        }
        if (unfiltered instanceof FilteredSet) {
          // Support clear(), removeAll(), and retainAll() when filtering a filtered
          // collection.
          FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top