Home
last modified time | relevance | path

Searched refs:subList (Results 1 – 25 of 98) sorted by relevance

1234

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListSubListTester.java49 getList().subList(-1, 0); in testSubList_startNegative()
57 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
65 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
80 emptyList(), getList().subList(0, 0)); in testSubList_empty()
85 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
91 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() local
92 subList.remove(0); in testSubList_subListRemoveAffectsOriginal()
94 Arrays.asList(createSamplesArray()).subList(1, getNumElements()); in testSubList_subListRemoveAffectsOriginal()
100 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal() local
101 subList.add(samples.e3); in testSubList_subListAddAffectsOriginal()
[all …]
DSetCreationTester.java49 Arrays.asList(array).subList(1, getNumElements()); in testCreateWithDuplicates_nullDuplicatesNotRejected()
61 Arrays.asList(array).subList(1, getNumElements()); in testCreateWithDuplicates_nonNullDuplicatesNotRejected()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DAbstractListTest.java133 List sList = mList.subList(0, 2); in test_subListII()
165 al.subList(3, 7) instanceof RandomAccess); in test_subListII()
173 !(ll.subList(3, 7) instanceof RandomAccess)); in test_subListII()
184 List emptySubList = al.subList(0, 0); in test_subList_empty()
285 List subList = mainList.subList(1, 2); in test_subList_addAll() local
286 assertFalse("subList should not contain \"a\"", subList.contains("a")); in test_subList_addAll()
287 assertFalse("subList should not contain \"c\"", subList.contains("c")); in test_subList_addAll()
288 assertTrue("subList should contain \"b\"", subList.contains("b")); in test_subList_addAll()
291 subList.addAll(Arrays.asList(subObjects)); in test_subList_addAll()
292 assertFalse("subList should not contain \"a\"", subList.contains("a")); in test_subList_addAll()
[all …]
DConcurrentModTest.java44 List sub = al.subList(1, 3); in testGet()
74 List sub = al.subList(1, 3); in testSet()
104 List sub = al.subList(1, 3); in testAdd()
134 List sub = al.subList(1, 3); in testRemove()
164 List sub = al.subList(1, 3); in testAddAll()
DCollectionsTest.java939 List subList = list.subList(1, 5); in testRotate() local
940 Collections.rotate(subList, -1); in testRotate()
945 Collections.rotate(subList, 2); in testRotate()
1071 sub = new ArrayList(src.subList(3, 11)); in test_indexOfSubList2()
1076 sub = new ArrayList(src.subList(6, 11)); in test_indexOfSubList2()
1081 sub = new ArrayList(src.subList(0, 3)); in test_indexOfSubList2()
1086 sub = new ArrayList(src.subList(9, 11)); in test_indexOfSubList2()
1091 sub = new ArrayList(src.subList(10, 11)); in test_indexOfSubList2()
1096 sub = new ArrayList(src.subList(0, 11)); in test_indexOfSubList2()
1197 sub = new ArrayList(src.subList(0, 8)); in test_lastIndexOfSubList2()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DListGenerators.java84 .subList(0, elements.length); in create()
96 .subList(2, elements.length + 2); in create()
112 .subList(2, elements.length + 2); in create()
/external/guava/guava-tests/test/com/google/common/primitives/
DCharArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DDoubleArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DIntArrayAsListTest.java95 return asList(all).subList(0, elements.length); in create()
103 return asList(all).subList(2, elements.length + 2); in create()
112 return asList(all).subList(2, elements.length + 2); in create()
DFloatArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DShortArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DByteArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DLongArrayAsListTest.java94 return asList(all).subList(0, elements.length); in create()
102 return asList(all).subList(2, elements.length + 2); in create()
111 return asList(all).subList(2, elements.length + 2); in create()
DBytesTest.java181 List<Byte> list = Bytes.asList(VALUES).subList(0, i); in testToArray_threadSafe()
230 Bytes.toArray(list.subList(1, 3)))); in testAsList_subList_toArray_roundTrip()
232 Bytes.toArray(list.subList(2, 2)))); in testAsList_subList_toArray_roundTrip()
DLongsTest.java317 List<Long> list = Longs.asList(VALUES).subList(0, i); in testToArray_threadSafe()
366 Longs.toArray(list.subList(1, 3)))); in testAsList_subList_toArray_roundTrip()
368 Longs.toArray(list.subList(2, 2)))); in testAsList_subList_toArray_roundTrip()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DListExtensions.cs206 public static IList subList( this IList list, int fromIndex, int toIndex ) in subList() method in Antlr.Runtime.JavaExtensions.ListExtensions
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) in subList() method in Antlr.Runtime.JavaExtensions.ListExtensions
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) in subList() method in Antlr.Runtime.JavaExtensions.ListExtensions
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedAsList.java61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() method in ImmutableSortedAsList
65 backingList.subList(fromIndex, toIndex), backingSet.comparator()) in subList()
DTransformedImmutableList.java93 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
94 return new TransformedView(backingList.subList(fromIndex, toIndex));
DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { in subList() method in ForwardingList
111 return delegate().subList(fromIndex, toIndex); in subList()
DLists.java505 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(
986 return wrapper.subList(fromIndex, toIndex);
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractListMultimapTest.java213 List<Integer> sublist = list.subList(1, 4); in testListMethodsIncludingSublist()
231 List<Integer> sublist = list.subList(1, 4); in testSublistAfterListUpdate()
300 List<Integer> sublist = list.subList(1, 4); in testSublistSet()
315 List<Integer> sublist = list.subList(1, 4); in testSublistRemove()
339 List<Integer> sublist = list.subList(1, 4); in testSublistAdd()
359 List<Integer> sublist = list.subList(1, 4); in testSublistClear()
375 List<Integer> sublist = list.subList(0, 5); in testSublistAddToEmpty()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DCroppedTrack.java50 return origTrack.getSamples().subList(fromSample, toSample); in getSamples()
129 return origTrack.getSampleDependencies().subList(fromSample, toSample); in getSampleDependencies()
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java167 for (UnorderedBehavior behaviorList : behaviorLists.subList(position, in verify()
182 for (UnorderedBehavior behaviorList : behaviorLists.subList(position, in verify()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java169 String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize)); in findPublicSuffix()
476 return from(DOT_JOINER.join(parts.subList(levels, parts.size()))); in ancestor()
/external/srec/tools/grxmlcompile/
Dsub_grph.cpp293 void SubGraph::ExpandRules (SubGraph **subList, int *lookupList, int numSubs) in ExpandRules() argument
312 CopyFastArcs (subList[ruleId], 0, subList[ruleId]->numArc, numVertex, in ExpandRules()
313 subList[ruleId]->startId, initialId, subList[ruleId]->lastId, finalId); in ExpandRules()

1234