- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 657 for sublist (0.07 sec)
-
android/guava/src/com/google/common/collect/SortedLists.java
upper = middle - 1; } else if (c > 0) { lower = middle + 1; } else { return lower + presentBehavior.resultIndex( comparator, key, list.subList(lower, upper + 1), middle - lower); } } return absentBehavior.resultIndex(lower); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
} /** * Reverses the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex} * exclusive. This is equivalent to {@code * Collections.reverse(Doubles.asList(array).subList(fromIndex, toIndex))}, but is likely to be * more efficient. * * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or * {@code toIndex > fromIndex}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
*/ private int findSuffixOfType(Optional<PublicSuffixType> desiredType) { int partsSize = parts.size(); for (int i = 0; i < partsSize; i++) { String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize)); if (i > 0 && matchesType( desiredType, Optional.fromNullable(PublicSuffixPatterns.UNDER.get(ancestorName)))) { return i - 1; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
new Layout( idx < reader.getCommentLines().size() ? new ArrayList<>(reader.getCommentLines() .subList( idx, reader.getCommentLines().size())) : null,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(asList(1, 2), partitions.get(0)); assertEquals(asList(3), partitions.get(1)); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT. @GwtIncompatible // ArrayList.subList doesn't implement RandomAccess in GWT. public void testPartitionRandomAccessTrue() { List<Integer> source = asList(1, 2, 3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
float[] array = {(float) 0, (float) 1, (float) 2, (float) 3}; List<Float> list = Floats.asList(array); assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2}); assertThat(Floats.toArray(list.subList(2, 2))).isEmpty(); } public void testAsListEmpty() { assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
int[] array = {(int) 0, (int) 1, (int) 2, (int) 3}; List<Integer> list = Ints.asList(array); assertThat(Ints.toArray(list.subList(1, 3))).isEqualTo(new int[] {(int) 1, (int) 2}); assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {}); } public void testAsListEmpty() { assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
double[] array = {(double) 0, (double) 1, (double) 2, (double) 3}; List<Double> list = Doubles.asList(array); assertThat(Doubles.toArray(list.subList(1, 3))) .isEqualTo(new double[] {(double) 1, (double) 2}); assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty(); } public void testAsListEmpty() { assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
float[] array = {(float) 0, (float) 1, (float) 2, (float) 3}; List<Float> list = Floats.asList(array); assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {(float) 1, (float) 2}); assertThat(Floats.toArray(list.subList(2, 2))).isEmpty(); } public void testAsListEmpty() { assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
long[] array = {(long) 0, (long) 1, (long) 2, (long) 3}; List<Long> list = Longs.asList(array); assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {(long) 1, (long) 2}); assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {}); } public void testAsListEmpty() { assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0)