On 2013-06-03, Gary Gregory wrote:

> Why not have the class implement Iterable?

Oh, I'm returning just a subset, so making the whole class iterable
doesn't make sense.  I'm talking about

    public Iterator<ZipArchiveEntry> getEntries(String name)

Stefan

PS: For the general case of "all entries" this might be an option for
Compress 2.x.  Even then we'd still need a different method for
returning entries in a different order - central directory order vs
physical order.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to