Re: [lang] 1.3 problems

2007-12-02 Thread Hanson Char
1.5+ time! On Dec 2, 2007 1:45 AM, Stephen Colebourne <[EMAIL PROTECTED]> wrote: > My preference is to keep this release and branch of [lang] as 1.3 > compatible, primarily as part of the purpose of [lang] is to fill in JDK > holes for old JDKs. > > I would then suggest that [lang] switches to Jav

Re: TextIterable ?

2007-10-26 Thread Hanson Char
BTW, since Jakarta commons is still in the pre-1.5 era, there is no point to include TextIterable. So it has been a moot point in terms of suggesting the inclusion of TextIterator in the commons library. My bad. Cheers, Hanson Char On 10/26/07, Hanson Char <[EMAIL PROTECTED]> wrote:

Re: TextIterable ?

2007-10-26 Thread Hanson Char
The TextIterable's LineIterator was originally an inner private supporting class which is NOT meant to be used as a standalone class but rather just an internal implementation, whereas the commons-io's LineIterator is. There is a difference in intent. Hanson Char On 10/26/07, H

Re: TextIterable ?

2007-10-26 Thread Hanson Char
Well one difference at least is that the LineIterator implements the Iterator interface whereas TextIterable implements the Iterable interface. An Iterable can take advantage of the 1.5 special for-loop syntax, whereas an Iterator cannot. Hanson Char On 10/26/07, Niall Pemberton <[EM

Re: TextIterable ?

2007-10-25 Thread Hanson Char
releases. I suspect there is not enough activity in the 1.5 branch because those 1.5 developers simply move somewhere else. The proposed experiment above will provide evidence to the suspicion. My 1c :) Hanson Char On 10/25/07, Henri Yandell <[EMAIL PROTECTED]> wrote: > Users use

Re: [COLLECTIONS] status of 1.5 branch

2007-10-25 Thread Hanson Char
rsonally, I simply won't program in any pre-1.5 environment. My 2c. Hanson Char On 10/25/07, Henri Yandell <[EMAIL PROTECTED]> wrote: > Afaiu, the main reluctance is that no one has stepped up and started > organizing it. > > I seem to recall there being a strong view

Re: TextIterable ?

2007-10-25 Thread Hanson Char
> 2) direct all effort and resources towards new development in 1.5; and I mean 1.5+, of course. On 10/25/07, Hanson Char <[EMAIL PROTECTED]> wrote: > Naive may I be, On the 1.5 issue, why not just have a big vote to > > 1) stop active development work on anything pre-1.5; >

Re: TextIterable ?

2007-10-25 Thread Hanson Char
world. Cheers, Hanson Char - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TextIterable ?

2007-10-25 Thread Hanson Char
s when one iterates half way and decides to quite. But that is expected to be the less common use case. Cheers, Hanson Char On 10/25/07, Henri Yandell <[EMAIL PROTECTED]> wrote: > On 10/25/07, Hanson Char <[EMAIL PROTECTED]> wrote: > > Henri, > > > > LineIterato

Re: TextIterable ?

2007-10-25 Thread Hanson Char
On 2nd thought, encodings do need to be supported, and is now supported :) http://hansonchar.blogspot.com/2007/10/textiterable.html Hanson Char On 10/25/07, Hanson Char <[EMAIL PROTECTED]> wrote: > Henri, > > LineIterator is intended/designed to be a hidden implem

Re: TextIterable ?

2007-10-25 Thread Hanson Char
BTW, there already exists a public standalone class LineIterator: http://commons.apache.org/io/apidocs/org/apache/commons/io/LineIterator.html Same name but for different uses/intents :) Hanson Char On 10/25/07, Hanson Char <[EMAIL PROTECTED]> wrote: > Henri, > > LineItera

Re: TextIterable ?

2007-10-25 Thread Hanson Char
closing of input stream, etc. go away at the higher level of abstraction, aka TextIterable. The 1.5 issue is, unfortunate, a real issue. I haven't programmed in pre-1.5 Java for 2+ years now. Sorry for the folks who are not so lucky. Hanson Char On 10/25/07, Henri Yandell <[EMAIL PROTE

TextIterable ?

2007-10-25 Thread Hanson Char
Would anyone be interested in including the proposed TextIterable in the commons lang or commons io library ? http://hansonchar.blogspot.com/2007/10/textiterable.html Cheers, Hanson Char - To unsubscribe, e-mail: [EMAIL

Re: [dbcp] svn commit: r584222 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/TransactionContext.java

2007-10-18 Thread Hanson Char
"Unable to enlist connection the transaction becuase transaction has been Garbage Collected" ?? Do you mean: "Unable to enlist connection because the transaction has been Garbage Collected" ? Hanson Char On 10/18/07, Rahul Akolkar <[EMAIL PROTECTED]> wrote: >

Re: Percentile

2007-10-15 Thread Hanson Char
Hi Bradford, I thought it would be fun to implement one myself if no one else is taking this up. Otherwise, I just play lazy :) > Would you care to join me? ;-) Sounds like fun too. Hanson Char On 10/15/07, Bradford Cross <[EMAIL PROTECTED]> wrote: > Indeed, I was working on it

Percentile

2007-10-15 Thread Hanson Char
The current implementation of Percentile relies on sorting the underlying array. There is much faster way like the use of Hoare's partitioning that would take only linear instead of n*ln(n) time. Has such improvement be considered before ? Any reason not to do so ? Cheers, Hanson