Home
last modified time | relevance | path

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

1234567

/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-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 …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithDelegateTest.java42 public ArrayList<T> subList(int fromIndex, int toIndex) { in subList() method in StubbingWithDelegateTest.FakeList
52 public Collection<T> subList(int fromIndex, int toIndex) { in subList() method in StubbingWithDelegateTest.FakeListWithWrongMethods
121 List<String> subList = mock.subList(0, 0); in method_with_subtype_return_can_be_called() local
122 assertThat(subList.isEmpty()).isTrue(); in method_with_subtype_return_can_be_called()
154 mock.subList(0, 0); in calling_method_with_wrong_reference_return_should_throw_exception()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DJsonPrinter.java55 … NodeList<? extends Node> subList = (NodeList<? extends Node>) subListMetaModel.getValue(node); in output() local
56 if (subList != null && !subList.isEmpty()) { in output()
58 for (Node subListNode : subList) { in output()
DXmlPrinter.java55 … NodeList<? extends Node> subList = (NodeList<? extends Node>) subListMetaModel.getValue(node); in output() local
56 if (subList != null && !subList.isEmpty()) { in output()
60 for (Node subListNode : subList) { in output()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavadocParser.java62 … descriptionText = trimRight(String.join(EOL, cleanLines.subList(0, indexOfFirstBlockTag))); in parse()
66 String tagBlock = cleanLines.subList(indexOfFirstBlockTag, cleanLines.size()) in parse()
129 cleanedLines = cleanedLines.subList(1, cleanedLines.size()); in cleanLines()
132 cleanedLines = cleanedLines.subList(0, cleanedLines.size() - 1); in cleanLines()
/external/turbine/java/com/google/turbine/parse/
DVariableInitializerParser.java211 .addAll(tokens.subList(start, idx - 1)) in parseInitializers()
218 .addAll(tokens.subList(start, tokens.size())) in parseInitializers()
295 this.tokens = tokens.subList(0, lastType); in dropBracks()
296 this.commas = commas.subList(0, lastComma); in dropBracks()
/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()
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()
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()
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()
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()
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()
/external/guava/guava-tests/test/com/google/common/primitives/
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()
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()
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()
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()
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()
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()
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()
/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/antlr/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-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/autotest/frontend/client/src/autotest/common/table/
DArrayDataSource.java34 List<JSONObject> subList = in getPage() local
36 callback.handlePage(subList); in getPage()

1234567