Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for function (0.27 sec)

  1. android/guava/src/com/google/common/base/Function.java

     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Function.java

    /**
     * Legacy version of {@link java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be
     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Mar 20 18:30:19 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Functions.java

       *
       * @param g the second function to apply
       * @param f the first function to apply
       * @return the composition of {@code f} and {@code g}
       * @see <a href="//en.wikipedia.org/wiki/Function_composition">function composition</a>
       */
      public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      private static final class ConcatenatedHashFunction extends AbstractCompositeHashFunction {
    
        private ConcatenatedHashFunction(HashFunction... functions) {
          super(functions);
          for (HashFunction function : functions) {
            checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * @param function A Function to transform the results of this future to the results of the
       *     returned future.
       * @param executor Executor to run the function in.
       * @return A future that holds result of the transformation.
       */
      public final <T extends @Nullable Object> FluentFuture<T> transform(
          Function<? super V, T> function, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K 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/src/com/google/common/collect/ByFunctionOrdering.java

    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
        extends Ordering<F> implements Serializable {
      final Function<F, ? extends T> function;
      final Ordering<T> ordering;
    
      ByFunctionOrdering(Function<F, ? extends T> function, Ordering<T> ordering) {
        this.function = checkNotNull(function);
        this.ordering = checkNotNull(ordering);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.3K 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