Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 303 for function (0.15 sec)

  1. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
            ParameterTypesDifferent.class,
            new Function<ParameterTypesDifferent, ParameterTypesDifferent>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicate.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Determines a true or false value for a given input; a pre-Java-8 version of {@link
     * 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
    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)
  3. android/guava/src/com/google/common/collect/Lists.java

          extends AbstractSequentialList<T> implements Serializable {
        final List<F> fromList;
        final Function<? super F, ? extends T> function;
    
        TransformingSequentialList(List<F> fromList, Function<? super F, ? extends T> function) {
          this.fromList = checkNotNull(fromList);
          this.function = checkNotNull(function);
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list,
       * keyFunction)}.
       */
      public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch(
          List<E> list,
          Function<? super E, K> keyFunction,
          @ParametricNullness K key,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      private static final String RESULT_DATA = "SUCCESS";
    
      private SettableFuture<String> outputFuture;
      // Signals that the function is waiting to complete
      private CountDownLatch funcIsWaitingLatch;
      // Signals the function so it will complete
      private CountDownLatch funcCompletionLatch;
    
      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SuppliersTest.java

        new EqualsTester()
            .addEqualityGroup(
                Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")),
                Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")))
            .addEqualityGroup(Suppliers.compose(Functions.constant(2), Suppliers.ofInstance("foo")))
            .addEqualityGroup(Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("bar")))
            .testEquals();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        new EqualsTester()
            .addEqualityGroup(
                Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")),
                Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")))
            .addEqualityGroup(Suppliers.compose(Functions.constant(2), Suppliers.ofInstance("foo")))
            .addEqualityGroup(Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("bar")))
            .testEquals();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEquivalenceGroup(new IntValue(1), new IntValue(1))
            .addEquivalenceGroup(new IntValue(2))
            .test();
      }
    
      public void testOnResultOf_equals() {
        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.LinkedHashMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
Back to top