Home
last modified time | relevance | path

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

/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_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/javaparser/javaparser-symbol-solver-testing/src/test/resources/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-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithModifiers.java52 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addModifier()
61 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in removeModifier()
DNodeWithConstructors.java13 import static java.util.stream.Collectors.toCollection;
34 …constructorDeclaration.setModifiers(Arrays.stream(modifiers).collect(toCollection(() -> EnumSet.no… in addConstructor()
DNodeWithMembers.java39 import static java.util.stream.Collectors.toCollection;
113 .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addField()
214 .collect(toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addMethod()
/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/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-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java369 …assOrInterfaceDeclaration(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.n… in addClass()
392 …assOrInterfaceDeclaration(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.n… in addInterface()
415 …ion = new EnumDeclaration(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.n… in addEnum()
438 …new AnnotationDeclaration(Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.n… in addAnnotationDeclaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarators/
DVariableSymbolDeclarator.java49 .collect(Collectors.toCollection(LinkedList::new)); in getSymbolDeclarations()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java83 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.… in VariableDeclarationExpr()
87 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.… in VariableDeclarationExpr()
/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/guava/guava/src/com/google/common/collect/
DIterables.java315 Collection<? extends T> collection = toCollection(iterable); in toArray()
328 return toCollection(iterable).toArray(); in toArray()
336 private static <E> Collection<E> toCollection(Iterable<E> iterable) { in toCollection() method in Iterables
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java22 import static java.util.stream.Collectors.toCollection;
104 classes = classes.stream().filter(n -> !isAnonymous(n)).collect(toCollection(ArrayList::new)); in canonicalize()
114 HashSet<String> all = classes.stream().map(n -> n.name).collect(toCollection(HashSet::new)); in canonicalize()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java311 return toCollection(iterable).toArray(); in toArray()
319 private static <E> Collection<E> toCollection(Iterable<E> iterable) { in toCollection() method in Iterables
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestScriptMetadata.java253 TreeSet<String> b = With.in(bRaw).toCollection( in assertEqualsX()