Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Predicates (0.19 sec)

  1. guava/src/com/google/common/base/Predicate.java

    /**
     * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a
     * true or false value for a given input.
     *
     * <p>As this interface extends {@code java.util.function.Predicate}, an instance of this type may
     * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a
     * {@code com.google.common.base.Predicate} is expected, use the method reference {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c))));
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicate.java

     * java.util.function.Predicate java.util.function.Predicate}.
     *
     * <p>The {@link Predicates} class provides common predicates and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Predicate}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FilteredMultimapValues.java

            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c))));
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(),
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 3K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/testdata/describe/tls_config.json

                            "num_retries": 2,
                            "retry_host_predicate": [
                              {
                                "name": "envoy.retry_host_predicates.previous_hosts"
                              }
                            ],
                            "host_selection_retry_max_attempts": "5",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

            this.exclusions = exclusions;
            this.predicates =
                    exclusions.stream().map(ExclusionArtifactFilter::toPredicate).collect(Collectors.toList());
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return predicates.stream().noneMatch(p -> p.test(artifact));
        }
    
        private static Predicate<Artifact> toPredicate(Exclusion exclusion) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/and.go

    	}
    
    	return false
    }
    
    // BySize returns true when sz satisfies a
    // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates
    // Note: And combines size and other predicates like Tags, Prefix, etc. This
    // method applies exclusively to size predicates only.
    func (a And) BySize(sz int64) bool {
    	if a.ObjectSizeGreaterThan > 0 &&
    		sz <= a.ObjectSizeGreaterThan {
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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() {
          @Override
    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)
  9. 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() {
          @Override
    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)
  10. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Predicates;
    import com.google.common.collect.ImmutableList;
    import java.util.Arrays;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link AbstractPackageSanityTests}.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
Back to top