Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 158 for Predicate (0.15 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

    import static java.math.RoundingMode.UP;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Predicate;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.primitives.Doubles;
    import java.math.BigInteger;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

              return ImmutableList.of();
            }
          };
    
      /**
       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isDirectory() {
        return FilePredicate.IS_DIRECTORY;
      }
    
      /**
       * Returns a predicate that returns the result of {@link File#isFile} on input files.
       *
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

        return new PairwiseEquivalence<>(this);
      }
    
      /**
       * Returns a predicate that evaluates to true if and only if the input is equivalent to {@code
       * target} according to this equivalence relation.
       *
       * @since 10.0
       */
      public final Predicate<@Nullable T> equivalentTo(@CheckForNull T target) {
        return new EquivalentToPredicate<>(this, target);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Predicate;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.SortedSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        suite.addTest(testsForTransform());
        suite.addTestSuite(Collections2Test.class);
        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !"yyy".equals(input) && !"zzz".equals(input);
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      private static Test testsForFilter() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

        return ImmutableList.of();
      }
    
      /**
       * Returns a predicate that returns the result of {@link java.nio.file.Files#isDirectory(Path,
       * LinkOption...)} on input paths with the given link options.
       */
      public static Predicate<Path> isDirectory(LinkOption... options) {
        final LinkOption[] optionsCopy = options.clone();
        return new Predicate<Path>() {
          @Override
          public boolean apply(Path input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

        return ImmutableList.of();
      }
    
      /**
       * Returns a predicate that returns the result of {@link java.nio.file.Files#isDirectory(Path,
       * LinkOption...)} on input paths with the given link options.
       */
      public static Predicate<Path> isDirectory(LinkOption... options) {
        final LinkOption[] optionsCopy = options.clone();
        return new Predicate<Path>() {
          @Override
          public boolean apply(Path input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Ticker;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBasedTable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Ticker;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.HashBasedTable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.function.Predicate;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top