Home
last modified time | relevance | path

Searched refs:toList (Results 1 – 25 of 184) sorted by relevance

12345678

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DListsTest.java266 List<Integer> toList = Lists.reverse(fromList); in testReverseViewRandomAccess() local
267 assertReverseView(fromList, toList); in testReverseViewRandomAccess()
272 List<Integer> toList = Lists.reverse(fromList); in testReverseViewSequential() local
273 assertReverseView(fromList, toList); in testReverseViewSequential()
277 List<Integer> toList) { in assertReverseView() argument
280 assertEquals(asList(4, 3, 2, 5), toList); in assertReverseView()
282 assertEquals(asList(6, 4, 3, 2, 5), toList); in assertReverseView()
284 assertEquals(asList(6, 4, 3, 9, 2, 5), toList); in assertReverseView()
286 assertEquals(asList(6, 4, 3, 9, 5), toList); in assertReverseView()
288 assertEquals(asList(6, 3, 9, 5), toList); in assertReverseView()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DListsTest.java490 List<Integer> toList = Lists.reverse(fromList); in testReverseViewRandomAccess() local
491 assertReverseView(fromList, toList); in testReverseViewRandomAccess()
496 List<Integer> toList = Lists.reverse(fromList); in testReverseViewSequential() local
497 assertReverseView(fromList, toList); in testReverseViewSequential()
501 List<Integer> toList) { in assertReverseView() argument
504 assertEquals(asList(4, 3, 2, 5), toList); in assertReverseView()
506 assertEquals(asList(6, 4, 3, 2, 5), toList); in assertReverseView()
508 assertEquals(asList(6, 4, 3, 9, 2, 5), toList); in assertReverseView()
510 assertEquals(asList(6, 4, 3, 9, 5), toList); in assertReverseView()
512 assertEquals(asList(6, 3, 9, 5), toList); in assertReverseView()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_FunctionalInterfaceLogic.txt23 …ys.stream(m.getParameters()).map(p -> toSignature(p)).collect(Collectors.toList()))) ==> java.lang…
25 …ys.stream(m.getParameters()).map(p -> toSignature(p)).collect(Collectors.toList())) ==> java.lang.…
26 …Line 71) Arrays.stream(m.getParameters()).map(p -> toSignature(p)).collect(Collectors.toList()) ==…
31 Line 71) Collectors.toList() ==> java.util.stream.Collectors.toList()
34 …eclaredMethods()).map(method -> getSignature(method)).collect(Collectors.toList()) ==> java.util.s…
39 Line 80) Collectors.toList() ==> java.util.stream.Collectors.toList()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java40 import static java.util.stream.Collectors.toList;
248 .collect(toList())); in getMethodsByName()
260 .collect(toList())); in getMethods()
273 .collect(toList())); in getMethodsByParameterTypes()
286 .collect(toList())); in getMethodsBySignature()
299 .collect(toList())); in getMethodsByParameterTypes()
326 .collect(toList())); in getFields()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnonymousClassDeclaration.txt10 …ass.isAssignableFrom(node.getClass())).map(node -> (T) node).collect(Collectors.toList()) ==> ERROR
18 Line 60) Collectors.toList() ==> java.util.stream.Collectors.toList()
22 …lter(type -> type.getTypeDeclaration().isInterface()).collect(Collectors.toList()) ==> java.util.s…
29 Line 80) Collectors.toList() ==> java.util.stream.Collectors.toList()
30 …ParserConstructorDeclaration(this, ctor, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
34 Line 89) Collectors.toList() ==> java.util.stream.Collectors.toList()
42 …le -> new JavaParserFieldDeclaration(variable, typeSolver))).collect(Collectors.toList()) ==> ERROR
49 Line 117) Collectors.toList() ==> java.util.stream.Collectors.toList()
53 …nteface.getTypeDeclaration().getAllFields().stream()).collect(Collectors.toList()) ==> java.util.s…
60 Line 125) Collectors.toList() ==> java.util.stream.Collectors.toList()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistTypeDeclarationAdapter.txt6 …> new JavassistConstructorDeclaration(m, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
10 Line 47) Collectors.toList() ==> java.util.stream.Collectors.toList()
22 ….toTypeDeclaration(ctClass, typeSolver), typeSolver)).collect(Collectors.toList()) ==> java.util.s…
27 Line 77) Collectors.toList() ==> java.util.stream.Collectors.toList()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt3 …(t) -> ReflectionFactory.typeUsageFor(t, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
8 Line 44) Collectors.toList() ==> java.util.stream.Collectors.toList()
12 …(t) -> ReflectionFactory.typeUsageFor(t, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
17 Line 57) Collectors.toList() ==> java.util.stream.Collectors.toList()
81 … new ReflectionConstructorDeclaration(m, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
85 Line 181) Collectors.toList() ==> java.util.stream.Collectors.toList()
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserConstructorDeclaration.txt11 …p((astTp) -> new JavaParserTypeParameter(astTp, typeSolver)).collect(Collectors.toList()) ==> ERROR
15 Line 80) Collectors.toList() ==> java.util.stream.Collectors.toList()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionConstructorDeclaration.txt13 …ew ReflectionTypeParameter(refTp, false, typeSolver)).collect(Collectors.toList()) ==> java.util.s…
17 Line 75) Collectors.toList() ==> java.util.stream.Collectors.toList()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DMethodReference.java40 return names.stream().map(transformer::transform).collect(Collectors.toList()); in transform()
45 return names.stream().filter(MethodReference::startsWithS).collect(Collectors.toList()); in some()
50 return other.stream().filter(this::contains).collect(Collectors.toList()); in intersect()
56 return other.stream().filter(p.negate()).collect(Collectors.toList()); in onlyIn()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_declarations_ReferenceTypeDeclaration.txt39 …uals(this) || f.accessLevel() != AccessLevel.PRIVATE).collect(Collectors.toList()) ==> java.util.s…
46 Line 121) Collectors.toList() ==> java.util.stream.Collectors.toList()
47 …Line 128) getAllFields().stream().filter(it -> !it.isStatic()).collect(Collectors.toList()) ==> ja…
52 Line 128) Collectors.toList() ==> java.util.stream.Collectors.toList()
53 …Line 135) getAllFields().stream().filter(it -> it.isStatic()).collect(Collectors.toList()) ==> jav…
58 Line 135) Collectors.toList() ==> java.util.stream.Collectors.toList()
59 …Type().getQualifiedName().equals(getQualifiedName())).collect(Collectors.toList()) ==> java.util.s…
67 Line 142) Collectors.toList() ==> java.util.stream.Collectors.toList()
Dcom_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt31 …ap(tp -> typeParametersMap().getValue(tp).describe()).collect(Collectors.toList()))) ==> java.lang…
32 …ap(tp -> typeParametersMap().getValue(tp).describe()).collect(Collectors.toList())) ==> java.lang.…
33 …ap(tp -> typeParametersMap().getValue(tp).describe()).collect(Collectors.toList()) ==> java.util.s…
40 Line 141) Collectors.toList() ==> java.util.stream.Collectors.toList()
69 … typeParametersMap().replaceAll(a).asReferenceType()).collect(Collectors.toList()) ==> java.util.s…
75 Line 237) Collectors.toList() ==> java.util.stream.Collectors.toList()
84 …).filter(it -> it.getTypeDeclaration().isInterface()).collect(Collectors.toList()) ==> java.util.s…
90 Line 250) Collectors.toList() ==> java.util.stream.Collectors.toList()
91 …eam().filter(it -> it.getTypeDeclaration().isClass()).collect(Collectors.toList()) ==> java.util.s…
97 Line 256) Collectors.toList() ==> java.util.stream.Collectors.toList()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedReferenceType.java141 .collect(Collectors.toList()))); in describe()
223 .collect(Collectors.toList()); in getAllInterfacesAncestors()
229 .collect(Collectors.toList()); in getAllClassesAncestors()
254 …etTypeParameters().stream().map(tp -> typeParametersMap.getValue(tp)).collect(Collectors.toList()); in typeParametersValues()
371 .collect(Collectors.toList())); in create()
427 ….asTypeParameter().getBounds().stream().map(bound -> bound.getType()).collect(Collectors.toList()); in compareConsideringTypeParameters()
428 ….asTypeParameter().getBounds().stream().map(bound -> bound.getType()).collect(Collectors.toList()); in compareConsideringTypeParameters()
447 …etTypeParameters().stream().map((tp) -> new ResolvedTypeVariable(tp)).collect(Collectors.toList()); in deriveParams()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DXmlPrinter.java11 import static java.util.stream.Collectors.toList;
33 …m().filter(PropertyMetaModel::isAttribute).filter(PropertyMetaModel::isSingular).collect(toList()); in output()
34 …stream().filter(PropertyMetaModel::isNode).filter(PropertyMetaModel::isSingular).collect(toList()); in output()
35 … subLists = allPropertyMetaModels.stream().filter(PropertyMetaModel::isNodeList).collect(toList()); in output()
DJsonPrinter.java13 import static java.util.stream.Collectors.toList;
33 …m().filter(PropertyMetaModel::isAttribute).filter(PropertyMetaModel::isSingular).collect(toList()); in output()
34 …stream().filter(PropertyMetaModel::isNode).filter(PropertyMetaModel::isSingular).collect(toList()); in output()
35 … subLists = allPropertyMetaModels.stream().filter(PropertyMetaModel::isNodeList).collect(toList()); in output()
DYamlPrinter.java25 import static java.util.stream.Collectors.toList;
59 .filter(PropertyMetaModel::isSingular).collect(toList()); in output()
61 .filter(PropertyMetaModel::isSingular).collect(toList()); in output()
63 .collect(toList()); in output()
DDotPrinter.java25 import static java.util.stream.Collectors.toList;
60 .filter(PropertyMetaModel::isSingular).collect(toList()); in output()
62 .filter(PropertyMetaModel::isSingular).collect(toList()); in output()
64 .collect(toList()); in output()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DInterfaceMethod.java26 return names.stream().filter(this::startsWithS).collect(Collectors.toList()); in defaultMethodReference()
34 return names.stream().filter(InterfaceMethod::startsWithA).collect(Collectors.toList()); in staticMethodReference()
38 return names.stream().filter(s -> startsWithS(s)).collect(Collectors.toList()); in lambdaCallsDefaultMethod()
DGenericDefaultInterfaceWithLambda.java30 public default ArrayList<T> toList(int bound) { in toList() method
43 return list.stream().map(this::toString).collect(Collectors.toList()); in convertToStringList()
47 return this::toList; in toListSupplier()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithMembers.txt49 …tion) m).getName().equals(name)).map(m -> (MethodDeclaration) m).collect(toList()) ==> java.util.s…
56 Line 214) toList() ==> java.util.stream.Collectors.toList()
57 … m instanceof MethodDeclaration).map(m -> (MethodDeclaration) m).collect(toList())) ==> java.util.…
58 … m instanceof MethodDeclaration).map(m -> (MethodDeclaration) m).collect(toList()) ==> java.util.s…
63 Line 226) toList() ==> java.util.stream.Collectors.toList()
64 …f(paramTypes).collect(toSet()))).map(m -> (MethodDeclaration) m).collect(toList()) ==> java.util.s…
80 Line 241) toList() ==> java.util.stream.Collectors.toList()
81 …etSimpleName).collect(toSet()))).map(m -> (MethodDeclaration) m).collect(toList()) ==> java.util.s…
98 Line 257) toList() ==> java.util.stream.Collectors.toList()
110 …-> m instanceof FieldDeclaration).map(m -> (FieldDeclaration) m).collect(toList())) ==> java.util.…
[all …]
/external/kotlinc/lib/
Dkotlin-stdlib-jdk8.jarMETA-INF/ META-INF/MANIFEST.MF kotlin/ kotlin/random/ kotlin/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java6 import static java.util.stream.Collectors.toList;
214 .map(m -> (MethodDeclaration) m).collect(toList()); in getMethodsByName()
226 .collect(toList())); in getMethods()
241 .map(m -> (MethodDeclaration) m).collect(toList()); in getMethodsByParameterTypes()
257 .map(m -> (MethodDeclaration) m).collect(toList()); in getMethodsByParameterTypes()
282 .collect(toList())); in getFields()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java55 .collect(Collectors.toList()); in findMembersOfKind()
82 .collect(Collectors.toList()); in getInterfaces()
91 .collect(Collectors.toList()); in getConstructors()
119 .collect(Collectors.toList()); in getAllFields()
127 .collect(Collectors.toList()); in getAllFields()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedReferenceTypeDeclaration.java142 .collect(Collectors.toList()); in getVisibleFields()
149 return getAllFields().stream().filter(it -> !it.isStatic()).collect(Collectors.toList()); in getAllNonStaticFields()
156 return getAllFields().stream().filter(it -> it.isStatic()).collect(Collectors.toList()); in getAllStaticFields()
163 … -> it.declaringType().getQualifiedName().equals(getQualifiedName())).collect(Collectors.toList()); in getDeclaredFields()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java68 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForField()
81 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForVariableDeclarator()
93 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethod()
106 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethodParameter()
120 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForPrimitiveType()
131 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForSimpleImport()
144 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedGenericType()
155 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationDeclaration()
167 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclaration()
179 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclarationWithArrayType()
[all …]

12345678