/[classpath]/classpath/gnu/java/nio/DoubleBufferImpl.java
ViewVC logotype

Diff of /classpath/gnu/java/nio/DoubleBufferImpl.java

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

revision 1.6 by mark, Tue Apr 30 21:37:26 2002 UTC revision 1.7 by mkoch, Wed Nov 13 09:19:39 2002 UTC
# Line 44  public final class DoubleBufferImpl exte Line 44  public final class DoubleBufferImpl exte
44    public DoubleBufferImpl(int cap, int off, int lim)    public DoubleBufferImpl(int cap, int off, int lim)
45      {      {
46        this.backing_buffer = new double[cap];        this.backing_buffer = new double[cap];
47        this.capacity(cap);        this.cap = cap;
48        this.position(off);        this.position(off);
49        this.limit(lim);        this.limit(lim);
50      }      }
51    public DoubleBufferImpl(double[] array, int off, int lim)    public DoubleBufferImpl(double[] array, int off, int lim)
52      {      {
53        this.backing_buffer = array;        this.backing_buffer = array;
54        this.capacity(array.length);        this.cap = array.length;
55        this.position(off);        this.position(off);
56        this.limit(lim);        this.limit(lim);
57      }      }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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