* java/util/zip/ZipFile.java (entries): Now HashMap.
commit297cbfa8f53a27fa28b58ffd32f8bd51592e0327
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jan 2003 21:01:24 +0000 (2 21:01 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jan 2003 21:01:24 +0000 (2 21:01 +0000)
tree3561bff61d37cdf84f2ae6eadbbbfaac40e0503e
parent2c6a88062db31c9172265acc9d30bf9cb5b5fcf4
* java/util/zip/ZipFile.java (entries): Now HashMap.
(readLeShort(DataInput, byte[])): Read from given byte array.
(readLeInt(DataInput, byte[]): Likewise.
(readLeShort(byte[] b, int off)): New method.
(readLeInt(byte[] b, int off)): Likewise.
(readEntries): Use byte arrays to read info in bigger chunks.
(getEntries): Return HashMap.
(getEntry): Use HashMap.
(locBuf): New private field.
(checkLocalHeader): Use locBuf to read info in one chunk.
(getInputStream): Use entries HashMap, wrap PartialInputStream
in BufferedInputStream.
(ZipEntryEnumeration): Use HashMap and Interator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60803 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/util/zip/ZipFile.java