Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for filter (0.15 sec)

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

       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered
       * multimap or its views, only mappings whose keys satisfy the filter will be removed from the
       * underlying multimap.
       *
       * <p>The returned multimap isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multimap's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Parameter.java

        checkNotNull(annotationType);
        return FluentIterable.from(annotations).filter(annotationType).first().orNull();
      }
    
      /**
       * @since 18.0
       */
      @Override
      public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) {
        @Nullable
        A[] result = FluentIterable.from(annotations).filter(annotationType).toArray(annotationType);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE =
          Predicates.not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
        return new TestStringMultisetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE =
          Predicates.not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
        return new TestStringMultisetGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

       * the given class. If the object being tested is {@code null} this predicate evaluates to {@code
       * false}.
       *
       * <p>If you want to filter an {@code Iterable} to narrow its type, consider using {@link
       * com.google.common.collect.Iterables#filter(Iterable, Class)} in preference.
       *
       * <p><b>Warning:</b> contrary to the typical assumptions about predicates (as documented at
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Sets.newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

          @Override
          protected SortedSet<Integer> delegate() {
            return result;
          }
        };
      }
    
      @Override
      SortedSet<Integer> filter(SortedSet<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      static <E extends @Nullable Object> Collection<E> filterCollection(
          Collection<E> collection, Predicate<? super E> predicate) {
        if (collection instanceof Set) {
          return Sets.filter((Set<E>) collection, predicate);
        } else {
          return Collections2.filter(collection, predicate);
        }
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return asMap().get(key) != null;
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Optional.java

     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

        return stringWriter.toString();
      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
       * trace but faster iteration over parts of the trace. Here, "slower" and "faster" are defined in
       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top