/libcore/ojluni/src/main/java/java/util/ |
D | StringJoiner.java | 67 private final String delimiter; field in StringJoiner 99 public StringJoiner(CharSequence delimiter) { in StringJoiner() argument 100 this(delimiter, "", ""); in StringJoiner() 118 public StringJoiner(CharSequence delimiter, in StringJoiner() argument 122 Objects.requireNonNull(delimiter, "The delimiter must not be null"); in StringJoiner() 126 this.delimiter = delimiter.toString(); in StringJoiner() 223 value.append(delimiter); in prepareBuilder()
|
D | Scanner.java | 1137 public Pattern delimiter() { in delimiter() method in Scanner
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | ICULocaleDataTest.java | 49 String delimiter = localeData.getDelimiter(type); in testGetDelimiter() local 50 assertNotNull("Delimiter is null in this locale " + locale, delimiter); in testGetDelimiter() 51 assertFalse("Delimiter is empty in this locale " + locale, delimiter.isEmpty()); in testGetDelimiter()
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 465 private String readUntil(char[] delimiter, boolean returnText) in readUntil() argument 477 if (position + delimiter.length > limit) { in readUntil() 484 if (!fillBuffer(delimiter.length)) { in readUntil() 494 for (int i = 0; i < delimiter.length; i++) { in readUntil() 495 if (buffer[position + i] != delimiter[i]) { in readUntil() 505 position += delimiter.length; in readUntil() 643 int delimiter = peekCharacter(); in readExternalId() local 644 if (delimiter != '"' && delimiter != '\'') { in readExternalId() 665 char[] delimiter; in readQuotedId() local 667 delimiter = DOUBLE_QUOTE; in readQuotedId() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerParseLargeFileBenchmarkTest.java | 32 String delimiter = "\r?\n"; in testParseLargeFile() local 33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); in testParseLargeFile()
|
D | ScannerTest.java | 531 Pattern pattern = s.delimiter(); in test_delimiter() 541 assertEquals("\\w+", s.delimiter().toString()); in test_useDelimiter_LPattern() 545 assertNull(s.delimiter()); in test_useDelimiter_LPattern() 561 assertEquals("\\w+", s.delimiter().toString()); in test_useDelimiter_String()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 195 int delimiter = userInfo.indexOf(':'); in FtpURLConnection() local 196 if (delimiter == -1) { in FtpURLConnection() 200 user = ParseUtil.decode(userInfo.substring(0, delimiter++)); in FtpURLConnection() 201 password = ParseUtil.decode(userInfo.substring(delimiter)); in FtpURLConnection()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 2553 public static String join(CharSequence delimiter, CharSequence... elements) { in join() argument 2554 Objects.requireNonNull(delimiter); in join() 2557 StringJoiner joiner = new StringJoiner(delimiter); in join() 2601 public static String join(CharSequence delimiter, in join() argument 2603 Objects.requireNonNull(delimiter); in join() 2605 StringJoiner joiner = new StringJoiner(delimiter); in join()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 356 java.lang.CharSequence delimiter, java.lang.CharSequence... elements) { in join() argument 361 java.lang.CharSequence delimiter, in join() argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 278 public static Collector<CharSequence, ?, String> joining(CharSequence delimiter) { 279 return joining(delimiter, "", ""); 295 public static Collector<CharSequence, ?, String> joining(CharSequence delimiter, 299 () -> new StringJoiner(delimiter, prefix, suffix),
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 160 …atic java.lang.String join(@libcore.util.NonNull java.lang.CharSequence delimiter, java.lang.@libc… in join() argument 162 …atic java.lang.String join(@libcore.util.NonNull java.lang.CharSequence delimiter, @libcore.util.N… in join() argument
|