Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 125 for Predicates (0.43 sec)

  1. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredKeyListMultimap.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Predicate;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(ListMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. 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/260137033
      public static void awaitDone(FinalizationPredicate predicate) {
        if (predicate.isDone()) {
          return;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.function.Predicate;
    
    /**
     * This should be removed when https://bugs.openjdk.org/browse/JDK-8323729
     * is released in our minimum JDK.
     */
    class ImmutableCollections {
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         * @param maxCountLimit the maximum number of problems to preserve
         * @param filter        predicate to decide which problems to record
         * @return a new filtered problem collector instance
         */
        @Nonnull
        static <P extends BuilderProblem> ProblemCollector<P> create(int maxCountLimit, Predicate<? super P> filter) {
            return new Impl<>(maxCountLimit, filter);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/RangeTest.java

      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
        assertTrue(predicate.apply(3));
        assertFalse(predicate.apply(4));
    
        assertFalse(predicate.test(1));
        assertTrue(predicate.test(2));
        assertTrue(predicate.test(3));
        assertFalse(predicate.test(4));
      }
    
      public void testEquals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

      /** Implementation of {@link #forPredicate(Predicate)}. */
      private static final class ForPredicate extends CharMatcher {
    
        private final Predicate<? super Character> predicate;
    
        ForPredicate(Predicate<? super Character> predicate) {
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
        public boolean matches(char c) {
          return predicate.apply(c);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
Back to top