/[classpath]/classpath/java/util/zip/OutputWindow.java
ViewVC logotype

Diff of /classpath/java/util/zip/OutputWindow.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Tue Jan 22 22:27:02 2002 UTC revision 1.4 by mkoch, Thu Jul 15 13:35:30 2004 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package java.util.zip;  package java.util.zip;
39    
40  /*  /**
41   * Contains the output from the Inflation process.   * Contains the output from the Inflation process.
42   *   *
43   * We need to have a window so that we can refer backwards into the output stream   * We need to have a window so that we can refer backwards into the output stream
44   * to repeat stuff.   * to repeat stuff.
45   *   *
46   * @author John Leuner   * @author John Leuner
47   * @since JDK 1.1   * @since 1.1
48   */   */
   
49  class OutputWindow  class OutputWindow
50  {  {
51    private final int WINDOW_SIZE = 1 << 15;    private static final int WINDOW_SIZE = 1 << 15;
52    private final int WINDOW_MASK = WINDOW_SIZE - 1;    private static final int WINDOW_MASK = WINDOW_SIZE - 1;
53    
54    private byte[] window = new byte[WINDOW_SIZE]; //The window is 2^15 bytes    private byte[] window = new byte[WINDOW_SIZE]; //The window is 2^15 bytes
55    private int window_end  = 0;    private int window_end  = 0;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26