Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 189 for emptyList (0.07 sec)

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

       *
       * <p><b>{@code Stream} equivalent:</b> {@code Stream.empty()}.
       *
       * @since 20.0
       */
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#of(Object[])
       * Stream.of(T...)}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                CliRequest cliRequest, ClassRealm containerRealm, Set<String> providedArtifacts) throws Exception {
            if (cliRequest.multiModuleProjectDirectory == null) {
                return Collections.emptyList();
            }
    
            List<CoreExtension> extensions = new ArrayList<>();
    
            String installationExtensionsFile =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(true)).isTrue();
      }
    
      public void testAsListEquals() {
        assertThat(Booleans.asList(EMPTY).equals(Collections.emptyList())).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE))).isTrue();
        @SuppressWarnings("EqualsIncompatibleType")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

        return list;
      }
    
      /**
       * Creates an empty {@code CopyOnWriteArrayList} instance.
       *
       * <p><b>Note:</b> if you need an immutable empty {@link List}, use {@link Collections#emptyList}
       * instead.
       *
       * @return a new, empty {@code CopyOnWriteArrayList}
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArrayList
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            url: HttpUrl,
            cookies: List<Cookie>,
          ) {}
    
          override fun loadForRequest(url: HttpUrl): List<Cookie> {
            callReference.get().cancel()
            return emptyList()
          }
        }
        client =
          client.newBuilder()
            .cookieJar(DisconnectingCookieJar())
            .build()
        val call = client.newCall(newRequest("/"))
        callReference.set(call)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Ints.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(list.subList(2, 2))).isEmpty();
      }
    
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Longs.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top