/[classpath]/classpath/java/nio/Buffer.java
ViewVC logotype

Diff of /classpath/java/nio/Buffer.java

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

revision 1.6 by mkoch, Tue Mar 11 11:48:51 2003 UTC revision 1.7 by mkoch, Mon May 19 08:36:27 2003 UTC
# Line 42  public abstract class Buffer Line 42  public abstract class Buffer
42    private int cap = 0;    private int cap = 0;
43    private int limit = 0;    private int limit = 0;
44    private int pos = 0;    private int pos = 0;
45    private int mark = -1;    protected int mark = -1;
46    
47    // Creates a new Buffer.    // Creates a new Buffer.
48    //    //
# Line 57  public abstract class Buffer Line 57  public abstract class Buffer
57      limit (limit);      limit (limit);
58      position (position);      position (position);
59            
60      if (mark > 0)      if (mark >= 0)
61      {      {
62        if (mark > pos)        if (mark > pos)
63          throw new IllegalArgumentException ();          throw new IllegalArgumentException ();

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