<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Thanks Gavin.<br></div><div>Yes it makes sense, to use char sequence or character sequence, since it is inclusive of char[] and the java.text.CharacterSequence also.<br></div><div>I suggest that the font for char in the text needs to be updated as normal text since here it is not used as a keyword of java.<br></div><div>Also some place to mention about the coverage of char sequence or character sequence.<br></div><div><br></div><div>Thanks and Regards.<br></div><div>Pravin<br></div><div><br></div><div class="zmail_extra_hr" style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; line-height: 0px;"><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Mon, 25 Nov 2024 22:38:33 +0530 <b>Gavin Bierman <gavin.bierman@oracle.com></b> wrote ---<br></div><div><br></div><blockquote style="margin: 0px;" id="blockquote_zmail"><div>Thank you for your suggestion.<br id="x_1076877709lineBreakAtBeginningOfMessage"> <div><br><blockquote><div>On 23 Jun 2023, at 10:37, Pravin <<a target="_blank" href="mailto:pravin@zensoftech.co.in">pravin@zensoftech.co.in</a>> wrote:<br></div><br class="x_1076877709Apple-interchange-newline"><div><div><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt"><div>Hello sir/madam,<br></div><div><br></div><div>In the last para on page 44. the following sentence<br></div><div><br></div><div>Supplementary characters must be represented<br></div><div>either as a surrogate pair within a char sequence, or as an integer, depending on<br></div><div>the API they are used with.<br></div><div><br></div><div>may be replaced with<br></div><div><br></div><div>Supplementary characters must be represented<br></div><div>either as a surrogate pair within a java.lang.CharSequence, or as an integer, depending on<br></div><div>the API they are used with.<br></div><div><br></div><div>regards,<br></div><div>Pravin<br></div></div><br></div></div></blockquote></div><br><div>You may find this article interesting: <a target="_blank" href="https://www.oracle.com/technical-resources/articles/javase/supplementary.html">https://www.oracle.com/technical-resources/articles/javase/supplementary.html</a><br></div><div><br></div><div>You’ll find the following explanation:<br></div><div><br></div><div><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;">This article also uses the terms  </span></span></span><i style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;">character
 sequence</i><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;"> or  </span></span></span><i style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;"><code style="box-sizing: border-box; margin: 0.5em 0px; padding: 0px; list-style: none; background-repeat: no-repeat; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-spacing: normal; word-break: normal; display: inline-block;" class="x_1076877709ocode x_1076877709ocode-initialized">char</code> sequence  </i><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;">in
 many places to summarize all the containers of character sequences that the Java 2 Platform knows:  </span></span></span><code style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; display: inline-block;" class="x_1076877709ocode x_1076877709ocode-initialized">char[]</code><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;">,
 implementations of  </span></span></span><code style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; display: inline-block;" class="x_1076877709ocode x_1076877709ocode-initialized">java.lang.CharSequence</code><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;"> (such
 as the  </span></span></span><code style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; display: inline-block;" class="x_1076877709ocode x_1076877709ocode-initialized">String</code><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;"> class),
 and implementations of  </span></span></span><code style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; display: inline-block;" class="x_1076877709ocode x_1076877709ocode-initialized">java.text.CharacterIterator</code><span class="highlight" style="background-color: rgb(251, 249, 248);"><span class="font" style="font-family:OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif"><span class="size" style="font-size: 16px;">.</span></span></span><br></div><div><br></div><div><br></div><div>I hope this explains the JLS terminology.<br></div><div><br></div><div>Many thanks,<br></div><div>Gavin<br></div></div></blockquote></div><div><br></div></div><br></body></html>