Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for toImmutableList (0.11 sec)

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

            () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c));
      }
    
      public void testToImmutableList() {
        CollectorTester.of(ImmutableList.<String>toImmutableList())
            .expectCollects(ImmutableList.of("a", "b", "c", "d"), "a", "b", "c", "d");
      }
    
      // Basic tests
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());}
       * </pre>
       */
      @SuppressWarnings("unchecked")
      @GwtIncompatible // Class.isInstance
      public static <T> Iterable<T> filter(final Iterable<?> unfiltered, final Class<T> desiredType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/_UtilJvmKt;->toHeaders(Ljava/util/List;)Lokhttp3/Headers;
    HSPLokhttp3/internal/_UtilJvmKt;->toHostHeader(Lokhttp3/HttpUrl;Z)Ljava/lang/String;
    HSPLokhttp3/internal/_UtilJvmKt;->toImmutableList(Ljava/util/List;)Ljava/util/List;
    HSPLokhttp3/internal/cache/CacheInterceptor$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top