Home
last modified time | relevance | path

Searched refs:sj (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DStringJoinerTest.java46 StringJoiner sj = new StringJoiner(",", "[", "]"); in testAddString() local
49 sj.add(WEEKDAYS[i]); in testAddString()
53 assertEquals(expectedLength, sj.length()); in testAddString()
55 assertEquals(EXPECTED, sj.toString()); in testAddString()
59 StringJoiner sj = new StringJoiner(",", "[", "]"); in testAddStringBuilder() local
62 sj.add(new StringBuilder(WEEKDAYS[i])); in testAddStringBuilder()
66 assertEquals(expectedLength, sj.length()); in testAddStringBuilder()
68 assertEquals(EXPECTED, sj.toString()); in testAddStringBuilder()
72 StringJoiner sj = new StringJoiner(",", "[", "]"); in testAddNone() local
73 assertEquals("[]", sj.toString()); in testAddNone()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLambdaTestHelpers.java455 StringJoiner sj = new StringJoiner(", ", "StreamOpFlag[", "]");
456 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
457 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
458 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
459 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
460 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
461 return sj.toString();
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DLambdaTestHelpers.java454 StringJoiner sj = new StringJoiner(", ", "StreamOpFlag[", "]");
455 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
456 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
457 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
458 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
459 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
460 return sj.toString();
/libcore/ojluni/src/main/java/sun/security/x509/
DRDN.java455 StringJoiner sj = new StringJoiner("+"); in toRFC2253StringInternal() local
457 sj.add(canonical ? ava.toRFC2253CanonicalString() in toRFC2253StringInternal()
460 return sj.toString(); in toRFC2253StringInternal()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java369 (sj, cs) -> sj.add(cs),
378 (sj, cs) -> sj.add(cs),