HomeSort by relevance Sort by last modified time
    Searched refs:subList (Results 26 - 50 of 178) sorted by null

12 3 4 5 6 7 8

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowUriMatcher.java 60 segments = segments.subList(1, segments.size());
109 addNodes(nextNode, segments.subList(1, segments.size()), code);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
OneSizeGenerator.java 77 return new ArrayList<E>(allSampleElements.subList(0, howMany));
  /libcore/luni/src/main/java/libcore/util/
CollectionUtils.java 95 list.subList(j, list.size()).clear();
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapMessageListing.java 106 list = list.subList(offset, offset + count);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
ListExtensions.cs 206 public static IList subList( this IList list, int fromIndex, int toIndex )
208 return new SubList( list, fromIndex, toIndex );
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex )
219 return new SubList<T>( list, fromIndex, toIndex );
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex )
229 return new SubList<T>( list, fromIndex, toIndex );
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 181 List<Byte> list = Bytes.asList(VALUES).subList(0, i);
230 Bytes.toArray(list.subList(1, 3))));
232 Bytes.toArray(list.subList(2, 2))));
  /libcore/luni/src/test/java/tests/api/java/util/
ConcurrentModTest.java 32 * Test method for 'java.util.AbstractList.subList(int, int)'
44 List sub = al.subList(1, 3);
53 // illegal call the subList's method get(int).
76 * Test method for 'java.util.AbstractList.subList(int, int)'
88 List sub = al.subList(1, 3);
97 // illegal call the subList's method set(int,Object).
106 * Test method for 'java.util.AbstractList.subList(int, int)'
118 List sub = al.subList(1, 3);
127 // illegal call the subList's method Add(int,Object).
136 * Test method for 'java.util.AbstractList.subList(int, int)
    [all...]
CollectionsTest.java 1297 List sublist = new ArrayList(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractListMultimapTest.java 213 List<Integer> sublist = list.subList(1, 4); local
214 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4);
220 * Test sublist of List returned by get() after the original list is updated.
231 List<Integer> sublist = list.subList(1, 4); local
232 ASSERT.that(sublist).hasContentsInOrder(2, 3, 4);
235 ASSERT.that(sublist).hasContentsInOrder(2, 3, 6);
293 * Test calling set() on a sublist.
300 List<Integer> sublist = list.subList(1, 4) local
315 List<Integer> sublist = list.subList(1, 4); local
339 List<Integer> sublist = list.subList(1, 4); local
359 List<Integer> sublist = list.subList(1, 4); local
375 List<Integer> sublist = list.subList(0, 5); local
    [all...]
ForwardingListTest.java 130 @Override public List<T> subList(int fromIndex, int toIndex) {
283 forward.subList(0, 1);
284 assertEquals("[subList(int,int)]", getCalls());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
CollectionsTest.java 818 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z";
938 // rotate sublist with negative distance
939 List subList = list.subList(1, 5);
940 Collections.rotate(subList, -1);
944 // rotate sublist with positive distance
945 Collections.rotate(subList, 2);
1033 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z";
1037 testwithCharList(3, string1, "SUBLIST", true);
1119 List sublist = new ArrayList(); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
LogUnit.java 308 mLogStatementList.subList(index, length);
309 final List<Object[]> laterValues = mValuesList.subList(index, length);
310 final List<Long> laterTimes = mTimeList.subList(index, length);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
ContactMatcher.java 437 List<MatchScore> matches = mScoreList.subList(0, mScoreCount);
449 return matches.subList(0, count);
454 return mScoreList.subList(0, mScoreCount).toString();
  /external/guava/guava/src/com/google/common/collect/
EmptyImmutableList.java 118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) {
SingletonImmutableList.java 107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
Lists.java 466 * Returns consecutive {@linkplain List#subList(int, int) sublists} of a list,
473 * source list. The inner lists are sublist views of the original list,
474 * produced on demand using {@link List#subList(int, int)}, and are subject
478 * @param size the desired size of each sublist (the last may be
505 return list.subList(start, end);
572 @Override public ImmutableList<Character> subList(
683 @Override public List<Character> subList(int fromIndex, int toIndex) {
774 subList(fromIndex, toIndex).clear();
801 @Override public List<T> subList(int fromIndex, int toIndex) {
803 return reverse(forwardList.subList(
    [all...]
  /external/mockito/src/org/mockito/internal/progress/
ArgumentMatcherStorageImpl.java 86 result.addAll(matcherStack.subList(matcherStack.size() - count, matcherStack.size()));
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ClusterAlbum.java 81 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end));
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
GLAPISpec.java 112 List<String> argDefinitions = words.subList(2, words.size());
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/model/
GLTrace.java 76 return mGLCalls.subList(frame.getStartIndex(), frame.getEndIndex());
  /external/easymock/src/org/easymock/internal/
MocksBehavior.java 167 for (UnorderedBehavior behaviorList : behaviorLists.subList(position,
182 for (UnorderedBehavior behaviorList : behaviorLists.subList(position,
  /external/guava/guava/src/com/google/common/net/
InternetDomainName.java 169 String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize));
476 return from(DOT_JOINER.join(parts.subList(levels, parts.size())));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
SetNavigationTester.java 156 values.subList(1, values.size()), Helpers.copyToList(navigableSet));
209 values.subList(0, values.size() - 1), Helpers.copyToList(navigableSet));
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
SafeArrayList.java 60 * <li>Even though this class supports modifying the list, the subList() method
316 public List<E> subList(int fromIndex, int toIndex) {
318 // So far JME doesn't use subList that I can see so I'm nerfing it.
319 List<E> raw = Arrays.asList(getArray()).subList(fromIndex, toIndex);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLocaleUtilsTest.java 284 assertEquals(expectedLabelList.subList(0, numLabels),
285 resultLabels.subList(0, numLabels));

Completed in 1002 milliseconds

12 3 4 5 6 7 8