Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 202 for predicate (0.06 seconds)

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

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
       * Returns {@code true} if every element in this fluent iterable satisfies the predicate. If this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Waits until the given predicate returns true, invoking the garbage collector as necessary to
       * try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/487687332
      public static void awaitDone(FinalizationPredicate predicate) {
        if (predicate.isDone()) {
          return;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. 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 = not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

        private
        fun hasAttribute(ctClass: CtClass, predicate: AttributePredicate): Boolean =
            queryKotlinMetadata(ctClass) { metadata ->
                metadata.hasAttribute(MemberType.TYPE, ctClass.name, predicate)
            }
    
        private
        fun hasAttribute(ctMember: CtMember, predicate: AttributePredicate): Boolean =
            queryKotlinMetadata(ctMember.declaringClass) { metadata ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CollectSpliterators.java

          }
        };
      }
    
      /** Returns a {@code Spliterator} filtered by the specified predicate. */
      static <T extends @Nullable Object> Spliterator<T> filter(
          Spliterator<T> fromSpliterator, Predicate<? super T> predicate) {
        checkNotNull(fromSpliterator);
        checkNotNull(predicate);
        final class Splitr implements Spliterator<T>, Consumer<T> {
          @Nullable T holder = null;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CollectSpliterators.java

          }
        };
      }
    
      /** Returns a {@code Spliterator} filtered by the specified predicate. */
      static <T extends @Nullable Object> Spliterator<T> filter(
          Spliterator<T> fromSpliterator, Predicate<? super T> predicate) {
        checkNotNull(fromSpliterator);
        checkNotNull(predicate);
        @IgnoreJRERequirement // see earlier comment about redundancy
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

          SetMultimap<K, V> filterFiltered(
              FilteredSetMultimap<K, V> multimap, Predicate<? super Entry<K, V>> entryPredicate) {
        Predicate<Entry<K, V>> predicate = Predicates.and(multimap.entryPredicate(), entryPredicate);
        return new FilteredEntrySetMultimap<>(multimap.unfiltered(), predicate);
      }
    
      static boolean equalsImpl(Multimap<?, ?> multimap, @Nullable Object object) {
        if (object == multimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Multimaps.java

          SetMultimap<K, V> filterFiltered(
              FilteredSetMultimap<K, V> multimap, Predicate<? super Entry<K, V>> entryPredicate) {
        Predicate<Entry<K, V>> predicate = Predicates.and(multimap.entryPredicate(), entryPredicate);
        return new FilteredEntrySetMultimap<>(multimap.unfiltered(), predicate);
      }
    
      static boolean equalsImpl(Multimap<?, ?> multimap, @Nullable Object object) {
        if (object == multimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      }
    
      @Override
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top