Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FilteredKeyMultimap (0.15 sec)

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

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class FilteredKeyMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
      final Multimap<K, V> unfiltered;
      final Predicate<? super K> keyPredicate;
    
      FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        this.unfiltered = checkNotNull(unfiltered);
    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/Multimaps.java

        } else if (unfiltered instanceof ListMultimap) {
          return filterKeys((ListMultimap<K, V>) unfiltered, keyPredicate);
        } else if (unfiltered instanceof FilteredKeyMultimap) {
          FilteredKeyMultimap<K, V> prev = (FilteredKeyMultimap<K, V>) unfiltered;
          return new FilteredKeyMultimap<>(
              prev.unfiltered, Predicates.<K>and(prev.keyPredicate, keyPredicate));
        } else if (unfiltered instanceof FilteredMultimap) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top