Home
last modified time | relevance | path

Searched refs:joining (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/util/function/
DPredicateNotTest.java40 import static java.util.stream.Collectors.joining;
90 assertEquals(test.stream().filter(not(String::isEmpty)).collect(joining("\n")), expected); in test()
91 assertEquals(test.stream().filter(not(s -> s.isEmpty())).collect(joining("\n")), expected); in test()
92 … assertEquals(test.stream().filter(not(new IsEmptyPredicate())).collect(joining("\n")), expected); in test()
93 …assertEquals(test.stream().filter(not(not(not(String::isEmpty)))).collect(joining("\n")), expected… in test()
94 …assertEquals(test.stream().filter(not(not(not(s -> s.isEmpty())))).collect(joining("\n")), expecte… in test()
95 …assertEquals(test.stream().filter(not(not(not(new IsEmptyPredicate())))).collect(joining("\n")), e… in test()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
DFillableStringTest.java43 String s = generate().collect(Collectors.joining()); in testStringBuilder()
48 String s = generate().collect(Collectors.joining()); in testStringBuffer()
53 String s = generate().collect(Collectors.joining("-")); in testStringJoiner()
/libcore/ojluni/src/main/java/java/lang/constant/
DMethodTypeDesc.java173 .collect(Collectors.joining()), in descriptorString()
187 .collect(Collectors.joining(",")), in displayDescriptor()
DClassDesc.java37 import static java.util.stream.Collectors.joining;
228 … : nested(firstNestedName + Stream.of(moreNestedNames).collect(joining("$", "$", ""))); in nested()
DDynamicCallSiteDesc.java38 import static java.util.stream.Collectors.joining;
289 Stream.of(bootstrapArgs).map(Object::toString).collect(joining(",")), in toString()
DDynamicConstantDesc.java45 import static java.util.stream.Collectors.joining;
380 Stream.of(bootstrapArgs).map(Object::toString).collect(joining(",")), in toString()
/libcore/luni/src/main/java/libcore/internal/
DJava11LanguageFeatures.java35 .collect(Collectors.joining(" ")); in collectUpperCaseStrings()
/libcore/ojluni/src/test/java/lang/String/
DTransform.java57 .collect(Collectors.joining("\n", "", "\n")); in test1()
DIndent.java74 String expected = stream.collect(Collectors.joining("\n", "", "\n")); in testIndent()
/libcore/ojluni/src/test/java/util/Properties/
DCheckOverrides.java63 .collect(Collectors.joining("\n ", " ", "\n")) in main()
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java43 public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining() { thr… in joining() method in Collectors
45 public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(java.la… in joining() method in Collectors
47 public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(java.la… in joining() method in Collectors
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectorsTest.java418 .terminal(s -> s.map(Object::toString).collect(Collectors.joining()))
429 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",")))
434 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",", "[", "]")))
780 …Collector<Integer, ?, String> joining = mapping(String::valueOf, Collectors.joining(", ", "[", "]"…
790 Collector<Integer, ?, String> countAndContent = Collectors.teeing(counting, joining,
DTabulatorsTest.java339 .terminal(s -> s.map(Object::toString).collect(Collectors.joining()))
350 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",")))
355 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",", "[", "]")))
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java376 public static Collector<CharSequence, ?, String> joining() {
391 public static Collector<CharSequence, ?, String> joining(CharSequence delimiter) {
392 return joining(delimiter, "", "");
408 public static Collector<CharSequence, ?, String> joining(CharSequence delimiter,
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java400 .terminal(s -> s.map(Object::toString).collect(Collectors.joining()))
411 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",")))
416 .terminal(s -> s.map(Object::toString).collect(Collectors.joining(",", "[", "]")))
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java23 import static java.util.stream.Collectors.joining;
777 .collect(joining(", ", "[", "]"));
/libcore/ojluni/src/main/java/java/lang/
DString.java3586 return stream.collect(Collectors.joining("\n", "", "\n")); in indent()
3714 .collect(Collectors.joining("\n", "", optOut ? "\n" : "")); in stripIndent()
DClass.java445 .collect(Collectors.joining(",", "<", ">"))); in toGenericString()
469 .collect(Collectors.joining(" & ")); in typeVarBounds()
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java1632 .collect(Collectors.joining(" ")); in streamComodTest()
1645 .collect(Collectors.joining(" ")); in streamComodTest()
/libcore/ojluni/src/main/java/java/util/
DLocale.java2745 return Arrays.stream(stringList).collect(Collectors.joining(",")); in formatList()
/libcore/api/
Dcurrent.txt18205 …thod public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining();
18206 …static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(CharSequence);
18207 …ic java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(CharSequence, Cha…