/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 54 getList().subList(-1, 0); in testSubList_startNegative() 62 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge() 70 getList().subList(1, 0); in testSubList_startGreaterThanEnd() 84 assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0)); in testSubList_empty() 91 getList().subList(0, getNumElements())); in testSubList_entireList() 97 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() local 98 subList.remove(0); in testSubList_subListRemoveAffectsOriginal() 99 List<E> expected = 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/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 54 getList().subList(-1, 0); in testSubList_startNegative() 62 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge() 70 getList().subList(1, 0); in testSubList_startGreaterThanEnd() 84 assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0)); in testSubList_empty() 91 getList().subList(0, getNumElements())); in testSubList_entireList() 97 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() local 98 subList.remove(0); in testSubList_subListRemoveAffectsOriginal() 99 List<E> expected = 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/ |
D | StubbingWithDelegateTest.java | 42 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/ |
D | XmlPrinter.java | 55 … 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-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionMethodDeclarationTest.java | 41 …ResolvedMethodDeclaration subList = list.getAllMethods().stream().filter(m -> m.getName().equals("… in testParameterNameOnClassesFromTheStdLibrary() local 45 assertEquals("arg0", subList.getParam(0).getName()); in testParameterNameOnClassesFromTheStdLibrary() 46 assertEquals("arg1", subList.getParam(1).getName()); in testParameterNameOnClassesFromTheStdLibrary()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | JavadocParser.java | 62 … 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/ |
D | VariableInitializerParser.java | 207 .addAll(tokens.subList(start, idx - 1)) in parseInitializers() 214 .addAll(tokens.subList(start, tokens.size())) in parseInitializers() 294 this.tokens = tokens.subList(0, lastType); in dropBracks() 295 this.commas = commas.subList(0, lastComma); in dropBracks()
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | CharArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | IntArrayAsListTest.java | 93 return asList(all).subList(0, elements.length); in create() 102 return asList(all).subList(2, elements.length + 2); in create() 112 return asList(all).subList(2, elements.length + 2); in create()
|
D | ShortArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | ByteArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | DoubleArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | FloatArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | LongArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | LongArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | ShortArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | FloatArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | DoubleArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | ByteArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
D | IntArrayAsListTest.java | 93 return asList(all).subList(0, elements.length); in create() 102 return asList(all).subList(2, elements.length + 2); in create() 112 return asList(all).subList(2, elements.length + 2); in create()
|
D | CharArrayAsListTest.java | 92 return asList(all).subList(0, elements.length); in create() 101 return asList(all).subList(2, elements.length + 2); in create() 111 return asList(all).subList(2, elements.length + 2); in create()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | ListGenerators.java | 85 return ImmutableList.copyOf(all).subList(0, elements.length); in create() 96 return ImmutableList.copyOf(all).subList(2, elements.length + 2); in create() 111 return ImmutableList.copyOf(all).subList(2, elements.length + 2); in create()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | ListGenerators.java | 85 return ImmutableList.copyOf(all).subList(0, elements.length); in create() 96 return ImmutableList.copyOf(all).subList(2, elements.length + 2); in create() 111 return ImmutableList.copyOf(all).subList(2, elements.length + 2); in create()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | ListExtensions.cs | 206 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/ |
D | ForwardingImmutableList.java | 46 public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() method in ForwardingImmutableList 47 return unsafeDelegateList(delegateList().subList(fromIndex, toIndex)); in subList()
|