- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 348 for subList (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
return entries; } private void expectFirstRemoved(Entry<K, V>[] entries) { resetMap(entries); List<Entry<K, V>> expectedWithDuplicateRemoved = asList(entries).subList(1, getNumElements()); expectContents(expectedWithDuplicateRemoved); } /** * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
return list; } }); if (expectedLines.isEmpty()) { assertTrue(list.isEmpty()); } else { assertEquals(expectedLines.subList(0, 1), list); } } private void assertExpectedString(String string) { assertEquals(expected, string); } private void assertExpectedLines(List<String> list) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
} int toIndex = offset + size; if (toIndex > protwordsItemList.size()) { toIndex = protwordsItemList.size(); } return new PagingList<>(protwordsItemList.subList(offset, toIndex), offset, size, protwordsItemList.size()); } @Override public synchronized void insert(final ProtwordsItem item) { try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testAsList_subList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0, 3.0}; List<Double> list = Doubles.asList(array); assertThat(Doubles.toArray(list.subList(1, 3))).isEqualTo(new double[] {1.0, 2.0}); assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty(); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList")
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
public void testAsList_subList_toArray_roundTrip() { long[] array = {0L, 1L, 2L, 3L}; List<Long> list = Longs.asList(array); assertThat(Longs.toArray(list.subList(1, 3))).isEqualTo(new long[] {1L, 2L}); assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList")
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
short[] array = {(short) 0, (short) 1, (short) 2, (short) 3}; List<Short> list = Shorts.asList(array); assertThat(Shorts.toArray(list.subList(1, 3))).isEqualTo(new short[] {(short) 1, (short) 2}); assertThat(Shorts.toArray(list.subList(2, 2))).isEqualTo(new short[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} int toIndex = offset + size; if (toIndex > mappingItemList.size()) { toIndex = mappingItemList.size(); } return new PagingList<>(mappingItemList.subList(offset, toIndex), offset, size, mappingItemList.size()); } /** * Inserts a new character mapping item into the dictionary file. * * @param item the character mapping item to insert
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
public void testAsList_subList_toArray_roundTrip() { float[] array = {0.0f, 1.0f, 2.0f, 3.0f}; List<Float> list = Floats.asList(array); assertThat(Floats.toArray(list.subList(1, 3))).isEqualTo(new float[] {1.0f, 2.0f}); assertThat(Floats.toArray(list.subList(2, 2))).isEmpty(); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList")
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
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[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0)