Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for transport (3.86 sec)

  1. guava/src/com/google/common/collect/Collections2.java

       * Lists#transform}. If only an {@code Iterable} is available, use {@link Iterables#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#map Stream.map}.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Collection<T> transform(
          Collection<F> fromCollection, Function<? super F, T> function) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       * <p>If the input {@code Iterable} is known to be a {@code List} or other {@code Collection},
       * consider {@link Lists#transform} and {@link Collections2#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#map}
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Iterable<T> transform(
          final Iterable<F> fromIterable, final Function<? super F, ? extends T> function) {
        checkNotNull(fromIterable);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.transform;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          Iterator<Entry<E>> entryIterator) {
        return new TransformedIterator<Entry<E>, E>(entryIterator) {
          @Override
          @ParametricNullness
          E transform(Entry<E> entry) {
            return entry.getElement();
          }
        };
      }
    
      abstract static class ElementSet<E extends @Nullable Object> extends Sets.ImprovedAbstractSet<E> {
    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-tests/test/com/google/common/collect/ListsTest.java

        List<Integer> listIteratorOnlyList = new ListIterationOnlyList<>(randomAccessList);
        List<String> transform = Lists.transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(
            Iterables.elementsEqual(transform, Lists.transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Optional.java

       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
      public abstract <V> Optional<V> transform(Function<? super T, V> function);
    
      /**
       * Returns {@code true} if {@code object} is an {@code Optional} instance, and either the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          // Must be manually synchronized.
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Map.Entry<K, Collection<V>>>(
              super.iterator()) {
            @Override
            Map.Entry<K, Collection<V>> transform(final Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
     * com.google.common.base.Function, java.util.concurrent.Executor) Futures.transform} and {@link
     * Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

       * Lists#transform}. If only an {@code Iterable} is available, use {@link Iterables#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#map Stream.map}.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Collection<T> transform(
          Collection<F> fromCollection, Function<? super F, T> function) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       tasks -- even tasks that are not themselves {@code directExecutor} tasks.
       *   <li>If many such tasks are chained together (such as with {@code
       *       future.transform(...).transform(...).transform(...)....}), they may overflow the stack.
       *       (In simple cases, callers can avoid this by registering all tasks with the same {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top