Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for function (0.3 sec)

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

          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Function<? super F, T> function;
        final Supplier<F> supplier;
    
        SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Equivalence.java

       * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of
       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

    import java.io.Serializable;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Spliterator;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Equivalence.java

       * {@code function} to the argument, then evaluating using {@code this}. That is, for any pair of
       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        }
      }
    
      private static String encode(String str) {
        return BaseEncoding.base64().encode(str.getBytes(Charsets.UTF_8));
      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
              return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8);
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * bit(i) can alter output bit(j).
       */
      static void checkNoFunnels(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
    
        // output loop tests input bit
        for (int i = 0; i < keyBits; i++) {
          int same = 0x0; // bitset for output bits with same values
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       */
      public final <T extends @Nullable Object> FluentIterable<T> transform(
          Function<? super E, T> function) {
        return from(Iterables.transform(getDelegate(), function));
      }
    
      /**
       * Applies {@code function} to each element of this fluent iterable and returns a fluent iterable
       * with the concatenated combination of results. {@code function} returns an Iterable of results.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FluentIterableTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.IteratorFeature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
Back to top