Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unmodifiableEmptyCollection (0.12 sec)

  1. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        }
        return false;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
      Collection<V> unmodifiableEmptyCollection() {
        if (unfiltered instanceof SetMultimap) {
          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return asMap().get(key) != null;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection());
      }
    
      Collection<V> unmodifiableEmptyCollection() {
        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return asMap().get(key) != null;
      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection());
      }
    
      Collection<V> unmodifiableEmptyCollection() {
        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top