- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 151 for EmptyList (0.13 sec)
-
guava/src/com/google/common/primitives/Chars.java
* @param backingArray the array to back the list * @return a list view of the array */ public static List<Character> asList(char... backingArray) { if (backingArray.length == 0) { return Collections.emptyList(); } return new CharArrayAsList(backingArray); } private static final class CharArrayAsList extends AbstractList<Character> implements RandomAccess, Serializable { final char[] array;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* @param backingArray the array to back the list * @return a list view of the array */ public static List<Float> asList(float... backingArray) { if (backingArray.length == 0) { return Collections.emptyList(); } return new FloatArrayAsList(backingArray); } private static final class FloatArrayAsList extends AbstractList<Float> implements RandomAccess, Serializable { final float[] array;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
// When this happens we have a Maven 1.x POM, or some invalid POM. // It should have never found its way into Maven 2.x repository, but it did. dependencies = Collections.emptyList(); } else { dependencies = rel.project.getModel().getDependencies(); DependencyManagement depMgmt = rel.project.getModel().getDependencyManagement();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") 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}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Shorts.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
* @param backingArray the array to back the list * @return a list view of the array */ public static List<Double> asList(double... backingArray) { if (backingArray.length == 0) { return Collections.emptyList(); } return new DoubleArrayAsList(backingArray); } private static final class DoubleArrayAsList extends AbstractList<Double> implements RandomAccess, Serializable { final double[] array;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") 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}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") 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}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0)