Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for entryPredicate (0.09 seconds)

  1. guava/src/com/google/common/collect/FilteredMultimapValues.java

      }
    
      @Override
      public boolean remove(@Nullable Object o) {
        Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate();
        for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator();
            unfilteredItr.hasNext(); ) {
          Entry<K, V> entry = unfilteredItr.next();
          if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/FilteredMultimap.java

     */
    @GwtCompatible
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
      Predicate<? super Entry<K, V>> entryPredicate();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        private final Predicate<? super Entry<K, V>> entryPredicate;
        private final Map<K, V> filteredDelegate;
    
        FilteredEntryNavigableMap(
            NavigableMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) {
          this.unfiltered = checkNotNull(unfiltered);
          this.entryPredicate = entryPredicate;
          this.filteredDelegate = new FilteredEntryMap<>(unfiltered, entryPredicate);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

        private final Predicate<? super Entry<K, V>> entryPredicate;
        private final Map<K, V> filteredDelegate;
    
        FilteredEntryNavigableMap(
            NavigableMap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) {
          this.unfiltered = checkNotNull(unfiltered);
          this.entryPredicate = entryPredicate;
          this.filteredDelegate = new FilteredEntryMap<>(unfiltered, entryPredicate);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      }
    
      @Override
      public boolean remove(@Nullable Object o) {
        Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate();
        for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator();
            unfilteredItr.hasNext(); ) {
          Entry<K, V> entry = unfilteredItr.next();
          if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        this.keyPredicate = checkNotNull(keyPredicate);
      }
    
      @Override
      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/FilteredKeyMultimap.java

        this.keyPredicate = checkNotNull(keyPredicate);
      }
    
      @Override
      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

        return (Set<V>) super.replaceValues(key, values);
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return Sets.filter(unfiltered().entries(), entryPredicate());
      }
    
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/FilteredMultimap.java

     */
    @GwtCompatible
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
      Predicate<? super Entry<K, V>> entryPredicate();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          return filterEntries((SetMultimap<K, V>) unfiltered, entryPredicate);
        }
        return (unfiltered instanceof FilteredMultimap)
            ? filterFiltered((FilteredMultimap<K, V>) unfiltered, entryPredicate)
            : new FilteredEntryMultimap<K, V>(checkNotNull(unfiltered), entryPredicate);
      }
    
      /**
       * Returns a multimap containing the mappings in {@code unfiltered} that satisfy a predicate. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
Back to Top