Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for function (0.18 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                          }
                        }),
                    executor);
        waiter.awaitStarted();
        cancelFinalStepAndWait(closingFuture);
        // not closed until the function returns
        assertStillOpen(closeable1, closeable2, closeable3);
        waiter.awaitReturned();
        assertClosed(closeable1, closeable2, closeable3);
      }
    
      public void testTransformAsync_throws() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.Spliterator;
    import java.util.TreeMap;
    import java.util.function.BiConsumer;
    import java.util.function.BinaryOperator;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

              V extends @Nullable Object,
              M extends Multimap<K, V>>
          Collector<T, ?, M> toMultimap(
              java.util.function.Function<? super T, ? extends K> keyFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<M> multimapSupplier) {
        return CollectCollectors.<T, K, V, M>toMultimap(keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <F extends Enum<F> & Function<String, Integer> & Iterable<Long>>
          void testResolveType_fromTypeVariable() {
        TypeToken<?> f = TypeToken.of(new TypeCapture<F>() {}.capture());
        assertEquals(String.class, f.resolveType(Function.class.getTypeParameters()[0]).getType());
        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Properties;
    import java.util.concurrent.Callable;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.BiConsumer;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.VersionRange;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.di.Inject;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
  10. 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)
Back to top