Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Substring changes (JDK 1.7) Date: Sat, 12 Jan 2013 10:36:40 -0800 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 12 Jan 2013 18:36:43 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="4379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TjsFMAkPDm8qGsFy7ejgYPktl52IHLqQ=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: Cancel-Lock: sha1:Pqr0rqrPJSPpnK8wGZXWYh97Ne4= Xref: csiph.com comp.lang.java.programmer:21366 On 1/12/2013 10:14 AM, Jan Burse wrote: > markspace schrieb: >> javax.swing.text.Segment preserves the semantics of a shared buffer. >> It's not a drop-in replacement for String (many of the methods differ or >> are absent). But Segment is extensible, so critical missing methods >> could be added. > > Not available on Android I guess, :-( Or you could just write your own from scratch. It's not hard. But again I kind of doubt anyone is doing enough heavy string processing on a small embedded device like Android where this kind of thing is going to affect actual performance. Didn't your original complaint come from the Scala group? What does Scala have to do with Android?