This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jim White wrote:
Per Bothner wrote:
But wouldn't the way to go be to have <string> be j.l.String
I assume you mean <immutable-string> be j.l.String, where <string> == union(<immutable-string>, <mutable-string>)
<string> == java.lang.String <mutable-string> == java.lang.StringBuffer <abstract-string> == java.lang.CharSequence <symbol> == gnu.mapping.Symbol (extends j.l.CharSequence)
Obvious we can't use j.l.String for <string>, since String is final.
... You can think of an immutable string as a string with soem extra
estrictions, but isn't as clean a design, I think.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |