DO NOT REPLY [Bug 32080] New: - CharSequence
[email protected] 5 Nov 2004 12:08:18 -0000
| Newsgroups | gmane.comp.jakarta.oro.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32080>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32080
CharSequence
Summary: CharSequence
Product: ORO
Version: Unknown
Platform: All
URL: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/CharSe
quence.html
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
It would be great to have an effective
#public synchronized boolean match(CharSequence pattern, CharSequence input)
and
#public synchronized String substitute(CharSequence expression, CharSequence
input)
methods.
Otherwise we need to copy the CharSequence into the String,
which is cumbersome both in notation and in performance.
I hope there would be a way for you to achieve it
without breaking compatibility with earlier JDKs (if you care).