- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 464 for subList (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); for (int i = 0; i < entries.size(); i++) { assertEqualInOrder( entries.subList(0, i), navigableMap.headMap(entries.get(i).getKey()).entrySet()); } } public void testTailMap() { List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder(); List<Integer> sublist = list.subList(0, 5); assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder(); sublist.clear(); assertTrue(sublist.isEmpty()); multimap.put("foo", 6); assertThrows(ConcurrentModificationException.class, () -> sublist.isEmpty()); } public void testCreateFromMultimap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
.named("Bytes.asList, head subList"), ListTestSuiteBuilder.using(new BytesAsListTailSubListGenerator()) .named("Bytes.asList, tail subList"), ListTestSuiteBuilder.using(new BytesAsListMiddleSubListGenerator()) .named("Bytes.asList, middle subList")); TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
.named("Longs.asList, head subList"), ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator()) .named("Longs.asList, tail subList"), ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator()) .named("Longs.asList, middle subList")); TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
String[] all = new String[elements.length + suffix.length]; arraycopy(elements, 0, all, 0, elements.length); arraycopy(suffix, 0, all, elements.length, suffix.length); return ImmutableList.copyOf(all).subList(0, elements.length); } } public static class ImmutableListTailSubListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* lists are sublist views of the original list, produced on demand using {@link List#subList(int, * int)}, and are subject to all the usual caveats about modification as explained in that API. * * @param list the list to return consecutive sublists of * @param size the desired size of each sublist (the last may be smaller) * @return a list of consecutive sublists
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
.named("Floats.asList, head subList"), ListTestSuiteBuilder.using(new FloatsAsListTailSubListGenerator()) .named("Floats.asList, tail subList"), ListTestSuiteBuilder.using(new FloatsAsListMiddleSubListGenerator()) .named("Floats.asList, middle subList")); TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
.named("Floats.asList, head subList"), ListTestSuiteBuilder.using(new FloatsAsListTailSubListGenerator()) .named("Floats.asList, tail subList"), ListTestSuiteBuilder.using(new FloatsAsListMiddleSubListGenerator()) .named("Floats.asList, middle subList")); TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
.named("Ints.asList, head subList"), ListTestSuiteBuilder.using(new IntsAsListTailSubListGenerator()) .named("Ints.asList, tail subList"), ListTestSuiteBuilder.using(new IntsAsListMiddleSubListGenerator()) .named("Ints.asList, middle subList")); TestSuite suite = new TestSuite();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
@Override @ParametricNullness public E set(int index, @ParametricNullness E element) { return delegate().set(index, element); } @Override public List<E> subList(int fromIndex, int toIndex) { return delegate().subList(fromIndex, toIndex); } @Override public boolean equals(@CheckForNull Object object) { return object == this || delegate().equals(object); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 7.9K bytes - Viewed (0)