Home
last modified time | relevance | path

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

123456

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListSubListTester.java54 getList().subList(-1, 0); in testSubList_startNegative()
62 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
70 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
85 emptyList(), getList().subList(0, 0)); in testSubList_empty()
90 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
96 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() local
97 subList.remove(0); in testSubList_subListRemoveAffectsOriginal()
99 Arrays.asList(createSamplesArray()).subList(1, getNumElements()); in testSubList_subListRemoveAffectsOriginal()
106 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal() local
107 subList.clear(); in testSubList_subListClearAffectsOriginal()
[all …]
DSetCreationTester.java49 Arrays.asList(array).subList(1, getNumElements()); in testCreateWithDuplicates_nullDuplicatesNotRejected()
61 Arrays.asList(array).subList(1, getNumElements()); in testCreateWithDuplicates_nonNullDuplicatesNotRejected()
DSortedMapNavigationTester.java121 .iteratesAs(entries.subList(0, i)); in testHeadMap()
131 .iteratesAs(entries.subList(i, entries.size())); in testTailMap()
144 .iteratesAs(entries.subList(i, j)); in testSubMap()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListSubListTester.java50 getList().subList(-1, 0); in testSubList_startNegative()
58 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
66 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
81 emptyList(), getList().subList(0, 0)); in testSubList_empty()
86 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
92 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() local
93 subList.remove(0); in testSubList_subListRemoveAffectsOriginal()
95 Arrays.asList(createSamplesArray()).subList(1, getNumElements()); in testSubList_subListRemoveAffectsOriginal()
102 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal() local
103 subList.clear(); in testSubList_subListClearAffectsOriginal()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DCharArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
DIntArrayAsListTest.java59 return asList(all).subList(0, elements.length); in create()
67 return asList(all).subList(2, elements.length + 2); in create()
76 return asList(all).subList(2, elements.length + 2); in create()
DLongArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
DByteArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
DFloatArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
DShortArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
DDoubleArrayAsListTest.java58 return asList(all).subList(0, elements.length); in create()
66 return asList(all).subList(2, elements.length + 2); in create()
75 return asList(all).subList(2, elements.length + 2); in create()
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/
DStackTraceFilter.java47 top = unfilteredStackTrace.subList(0, firstBad); in filter()
52 …List<StackTraceElement> bottom = unfilteredStackTrace.subList(lastBad + 1, unfilteredStackTrace.si… in filter()
/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-testlib/src/com/google/common/collect/testing/google/
DListGenerators.java87 .subList(0, elements.length); in create()
99 .subList(2, elements.length + 2); in create()
115 .subList(2, elements.length + 2); in create()
/external/guava/guava-tests/test/com/google/common/primitives/
DShortArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
DIntArrayAsListTest.java97 return asList(all).subList(0, elements.length); in create()
105 return asList(all).subList(2, elements.length + 2); in create()
114 return asList(all).subList(2, elements.length + 2); in create()
DByteArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
DLongArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
DFloatArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
DDoubleArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
DCharArrayAsListTest.java96 return asList(all).subList(0, elements.length); in create()
104 return asList(all).subList(2, elements.length + 2); in create()
113 return asList(all).subList(2, elements.length + 2); in create()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DForwardingImmutableList.java49 public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() method in ForwardingImmutableList
50 return unsafeDelegateList(delegateList().subList(fromIndex, toIndex)); in subList()
/external/guava/guava/src/com/google/common/collect/
DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { in subList() method in ForwardingList
111 return delegate().subList(fromIndex, toIndex); in subList()
DImmutableList.java380 public ImmutableList<E> subList(int fromIndex, int toIndex) {
423 public ImmutableList<E> subList(int fromIndex, int toIndex) {
425 return ImmutableList.this.subList(fromIndex + offset, toIndex + offset);
546 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
548 return forwardList.subList(
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowUriMatcher.java60 segments = segments.subList(1, segments.size()); in matchSegments()
109 addNodes(nextNode, segments.subList(1, segments.size()), code); in addNodes()

123456