Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for transformAndConcat (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
                  .transformAndConcat(c -> asList(c.getDeclaredMethods()))
                  .firstMatch(
                      m ->
                          m.getName().equals("writeReplace")
                              && m.getParameterTypes().length == 0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
                  .transformAndConcat(c -> asList(c.getDeclaredMethods()))
                  .firstMatch(
                      m ->
                          m.getName().equals("writeReplace")
                              && m.getParameterTypes().length == 0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

          return ImmutableList.of(value, value);
        }
      }
    
      public void testTransformAndConcat() {
        List<Integer> input = asList(1, 2, 3);
        Iterable<String> result =
            FluentIterable.from(input).transformAndConcat(new RepeatedStringValueOfFunction());
        assertEquals(asList("1", "1", "2", "2", "3", "3"), Lists.newArrayList(result));
      }
    
      private static final class RepeatedStringValueOfWildcardFunction
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       * streams, not iterables).
       *
       * @since 13.0 (required {@code Function<E, Iterable<T>>} until 14.0)
       */
      public <T extends @Nullable Object> FluentIterable<T> transformAndConcat(
          Function<? super E, ? extends Iterable<? extends T>> function) {
        return FluentIterable.concat(transform(function));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top