Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 244 for function (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
        return AbstractTransformFuture.create(input, function, executor);
      }
    
      /**
       * Like {@link #transform(ListenableFuture, Function, Executor)} except that the transformation
       * {@code function} is invoked on each call to {@link Future#get() get()} on the returned future.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.IteratorFeature;
    import com.google.common.collect.testing.IteratorTester;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectSpliterators.java

    import java.util.Comparator;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.DoubleConsumer;
    import java.util.function.Function;
    import java.util.function.IntConsumer;
    import java.util.function.IntFunction;
    import java.util.function.LongConsumer;
    import java.util.function.Predicate;
    import java.util.stream.IntStream;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .withFeatures(COLLECTION_FEATURES_REMOVE_ORDER)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Converter.java

          implements Serializable {
        private final Function<? super A, ? extends B> forwardFunction;
        private final Function<? super B, ? extends A> backwardFunction;
    
        private FunctionBasedConverter(
            Function<? super A, ? extends B> forwardFunction,
            Function<? super B, ? extends A> backwardFunction) {
          this.forwardFunction = checkNotNull(forwardFunction);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. guava/src/com/google/common/collect/ImmutableListMultimap.java

    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ScheduledExecutorService;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.CollectorTester;
    import java.util.function.BiPredicate;
    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top