Re: [CLI] Javadoc

2024-10-19 Thread Gary D. Gregory
Hi Claude, I just did after seeing your message, instead of going round and round ;) Gary On 2024/10/19 10:22:28 Claude Warren wrote: > Gary, > > I went looking for the javadoc in question but did not find it. Did you > already clean it up? If so, thanks. If not can you point to the issue? >

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Gary D. Gregory
On 2024/10/19 16:12:45 "Gary D. Gregory" wrote: > Hi Claude, > > Interesting stuff :-) > > I'll assume that you intend this discussion for Commons Collections. Note > that there are some stream/iterator mix utilities in Commons Lang in the > org.apache.commons.lang3.stream.Streams class. > >

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Gary D. Gregory
Hi Claude, Interesting stuff :-) I'll assume that you intend this discussion for Commons Collections. Note that there are some stream/iterator mix utilities in Commons Lang in the org.apache.commons.lang3.stream.Streams class. A few comments below. On 2024/10/19 10:15:38 Claude Warren wrote:

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Mike Drob
What is the advantage of using an ExtendedIterator to filter/chain/map/flatten instead of using Stream to do the same? On Sat, Oct 19, 2024 at 5:16 AM Claude Warren wrote: > I would like to introduce a new Iterator to the iterator library: > ExtendedIterator > > This Iterator is an Iterator that

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Gary D. Gregory
On 2024/10/19 16:16:09 "Gary D. Gregory" wrote: > > On 2024/10/19 16:12:45 "Gary D. Gregory" wrote: > > Hi Claude, > > > > Interesting stuff :-) > > > > I'll assume that you intend this discussion for Commons Collections. Note > > that there are some stream/iterator mix utilities in Commons Lan

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Gary D. Gregory
On 2024/10/19 18:44:17 "Gary D. Gregory" wrote: > On 2024/10/19 16:16:09 "Gary D. Gregory" wrote: > > > > On 2024/10/19 16:12:45 "Gary D. Gregory" wrote: > > > Hi Claude, > > > > > > Interesting stuff :-) > > > > > > I'll assume that you intend this discussion for Commons Collections. Note >

[DISCUSSs] new Iterator

2024-10-19 Thread Claude Warren
I would like to introduce a new Iterator to the iterator library: ExtendedIterator This Iterator is an Iterator that extends the functionality of other iterators and makes using some iterators in the library more idiomatic. It is based on the ExtendedIterator found in the new Apache Rat core pack

Re: [CLI] Javadoc

2024-10-19 Thread Claude Warren
Gary, I went looking for the javadoc in question but did not find it. Did you already clean it up? If so, thanks. If not can you point to the issue? Thank you, Claude On Thu, Oct 17, 2024 at 3:08 PM Gary D. Gregory wrote: > Note that the Javadoc for org.apache.commons.cli.help.HelpFormatter

Re: [DISCUSSs] new Iterator

2024-10-19 Thread Claude Warren
@mdrob The reason to use an Iterator is that, from my experience, Stream requires all the base objects to be in existence. In addition there are times when you don't know how many objects there will be or that you have an iterator or iterable to start with and not a stream. An example would be r