Home
last modified time | relevance | path

Searched refs:toCollection (Results 1 – 25 of 30) sorted by relevance

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_comments_CommentsCollection.txt2 …LineComment).map(comment -> (LineComment) comment).collect(Collectors.toCollection(() -> new TreeS…
6 …Line 48) Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION)) ==> java.util.stream…
7 …ockComment).map(comment -> (BlockComment) comment).collect(Collectors.toCollection(() -> new TreeS…
11 …Line 55) Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION)) ==> java.util.stream…
12 …cComment).map(comment -> (JavadocComment) comment).collect(Collectors.toCollection(() -> new TreeS…
16 …Line 62) Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION)) ==> java.util.stream…
Dcom_github_javaparser_ast_expr_VariableDeclarationExpr.txt11 …Line 79) setModifiers(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneO…
12 …Line 79) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.cl…
14 …Line 80) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collec…
19 …Line 86) setModifiers(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneO…
20 …Line 86) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.cl…
22 …Line 87) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collec…
Dcom_github_javaparser_ast_CompilationUnit.txt43 …Line 281) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.c…
45 …Line 282) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Colle…
51 …Line 308) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.c…
53 …Line 309) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Colle…
59 …Line 334) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.c…
61 …Line 335) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Colle…
67 …Line 359) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.c…
69 …Line 360) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Colle…
Dcom_github_javaparser_ast_nodeTypes_NodeWithModifiers.txt1 …Line 25) getModifiers().addAll(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> Enum…
3 …Line 25) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.cl…
5 …Line 26) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collec…
Dcom_github_javaparser_ast_nodeTypes_NodeWithMembers.txt9 …Line 79) fieldDeclaration.setModifiers(Arrays.stream(modifiers).collect(toCollection(() -> EnumSet…
10 …Line 79) Arrays.stream(modifiers).collect(toCollection(() -> EnumSet.noneOf(Modifier.class))) ==> …
12 …Line 80) toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collectors.toColl…
25 …Line 166) methodDeclaration.setModifiers(Arrays.stream(modifiers).collect(toCollection(() -> EnumS…
26 …Line 166) Arrays.stream(modifiers).collect(toCollection(() -> EnumSet.noneOf(Modifier.class))) ==>…
28 …Line 167) toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collectors.toCol…
33 …Line 181) constructorDeclaration.setModifiers(Arrays.stream(modifiers).collect(toCollection(() -> …
34 …Line 181) Arrays.stream(modifiers).collect(toCollection(() -> EnumSet.noneOf(Modifier.class))) ==>…
36 …Line 182) toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collectors.toCol…
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/terminal/
DCollection.kt15 … <T> Flow<T>.toList(destination: MutableList<T> = ArrayList()): List<T> = toCollection(destination) in <lambda>()
20 …<T> Flow<T>.toSet(destination: MutableSet<T> = LinkedHashSet()): Set<T> = toCollection(destination) in <lambda>()
25 public suspend fun <T, C : MutableCollection<in T>> Flow<T>.toCollection(destination: C): C { in <lambda>() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarators_VariableSymbolDeclarator.txt2 …vaParserSymbolDeclaration.localVar(v, typeSolver)).collect(Collectors.toCollection(() -> new Linke…
7 …Line 48) Collectors.toCollection(() -> new LinkedList<>()) ==> java.util.stream.Collectors.toColle…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/comments/
DCommentsCollection.java48 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getLineComments()
55 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getBlockComments()
62 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getJavadocComments()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/
DCommentsCollection.java50 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getLineComments()
57 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getBlockComments()
64 .collect(Collectors.toCollection(() -> new TreeSet<>(NODE_BY_BEGIN_POSITION))); in getJavadocComments()
/external/cldr/tools/java/org/unicode/cldr/util/
DWith.java90 return toCollection(new ArrayList<V>()); in toList()
99 public <C extends Collection<V>> C toCollection(C output) { in toCollection() method in With
125 public <W, C extends Collection<W>> C toCollection(Transform<V, W> filter, C output) { in toCollection() method in With
142 return CldrUtility.protectCollection(toCollection(filter, output)); in toUnmodifiableCollection()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java282 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), in addClass()
309 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), in addInterface()
335 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), name); in addEnum()
360 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), name); in addAnnotationDeclaration()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCompareFilesBetweenReleases2.java40 … .collect(Collectors.toCollection(() -> new TreeSet<String>())); in main()
45 … .collect(Collectors.toCollection(() -> new TreeSet<String>())); in main()
51 … .collect(Collectors.toCollection(() -> new TreeSet<String>())); in main()
DGenerateEnglishChanged.java52 With.in(englishTrunk).toCollection(paths); in main()
53 With.in(englishLastRelease).toCollection(paths); in main()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java5 import static java.util.stream.Collectors.toCollection;
80 .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addField()
167 .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addMethod()
182 .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addCtor()
DNodeWithModifiers.java26 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addModifier()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java80 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in VariableDeclarationExpr()
87 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in VariableDeclarationExpr()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarators/
DVariableSymbolDeclarator.java47 .collect(Collectors.toCollection(LinkedList::new)); in getSymbolDeclarations()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarators/
DVariableSymbolDeclarator.java48 Collectors.toCollection(() -> new LinkedList<>())); in getSymbolDeclarations()
/external/desugar/java/com/google/devtools/common/options/
DOptionsParserImpl.java18 import static java.util.stream.Collectors.toCollection;
118 .collect(toCollection(ArrayList::new)); in asCompleteListOfParsedOptions()
129 .collect(toCollection(ArrayList::new)); in asListOfExplicitOptions()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java81 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> new NodeList<>())), new … in VariableDeclarationExpr()
85 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> new NodeList<>())), new … in VariableDeclarationExpr()
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrPath.java9 import static java.util.stream.Collectors.toCollection;
476 .collect(toCollection(ArrayList::new)); in appendToString()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTypeSimplifier.java19 import static java.util.stream.Collectors.toCollection;
271 .collect(toCollection(TypeMirrorSet::new)); in topLevelTypes()
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java23 import static java.util.stream.Collectors.toCollection;
110 .collect(toCollection(ArrayList::new)); in canonicalize()
120 HashSet<String> all = classes.stream().map(n -> n.name).collect(toCollection(HashSet::new)); in canonicalize()
/external/libtextclassifier/java/src/com/android/textclassifier/
DActionsSuggestionsHelper.java79 .collect(Collectors.toCollection(ArrayList::new)); in toNativeMessages()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt1185 public suspend fun <E, C : MutableCollection<in E>> ReceiveChannel<E>.toCollection(destination: C):… in toCollection() method
1251 toCollection(ArrayList()) in toMutableList()
1720 toCollection(LinkedHashSet()) in toMutableSet()

12