Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for FluentIterable (0.18 sec)

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

       * just test that the toArray() contents are as expected.
       */
      public void testStream_nonCollection() {
        assertThat(stream(FluentIterable.of())).isEmpty();
        assertThat(stream(FluentIterable.of("a"))).containsExactly("a");
        assertThat(stream(FluentIterable.of(1, 2, 3)).filter(n -> n > 1)).containsExactly(2, 3);
      }
    
      @SuppressWarnings("deprecation")
      public void testStream_collection() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
          FluentIterable.of(
                  "base",
                  "cache",
                  "collect",
                  "escape",
                  "eventbus",
                  "graph",
                  "hash",
                  "html",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
          FluentIterable.of(
                  "base",
                  "cache",
                  "collect",
                  "escape",
                  "eventbus",
                  "graph",
                  "hash",
                  "html",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

      public void testConstants_areUnique() {
        assertThat(getConstants()).containsNoDuplicates();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static FluentIterable<Field> getConstantFields() {
        return FluentIterable.from(asList(MediaType.class.getDeclaredFields()))
            .filter(
                new Predicate<Field>() {
                  @Override
                  public boolean apply(Field input) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

      public void testConstants_areUnique() {
        assertThat(getConstants()).containsNoDuplicates();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static FluentIterable<Field> getConstantFields() {
        return FluentIterable.from(asList(MediaType.class.getDeclaredFields()))
            .filter(
                new Predicate<Field>() {
                  @Override
                  public boolean apply(Field input) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

        return FluentIterable.from(resources).filter(ClassInfo.class).toSet();
      }
    
      /**
       * Returns all top level classes loadable from the current class path. Note that "top-level-ness"
       * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}).
       */
      public ImmutableSet<ClassInfo> getTopLevelClasses() {
        return FluentIterable.from(resources)
            .filter(ClassInfo.class)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/base/Optional.java

       *
       * <pre>{@code
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<? extends Number> first = numbers.first();
       * Number value = first.or(0.5); // error
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Optional.java

       *
       * <pre>{@code
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<? extends Number> first = numbers.first();
       * Number value = first.or(0.5); // error
       * }</pre>
       *
    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)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.collect.FluentIterable;
    import com.google.common.collect.ForwardingSet;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterable)} instead. (Or, change {@code elements} to be a {@link
       * FluentIterable} and call {@code elements.toList()}.)
       *
       * <p><b>Note:</b> if {@code elements} is a {@link Collection}, you don't need this method. Use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top