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

Diff of /classpath/java/nio/ShortBuffer.java

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

revision 1.12 by mkoch, Mon May 19 08:36:27 2003 UTC revision 1.13 by mkoch, Tue May 20 10:34:22 2003 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
 package java.nio;  
38    
39  import gnu.java.nio.ShortBufferImpl;  package java.nio;
40    
41  /**  /**
42   * @since 1.4   * @since 1.4
# Line 45  import gnu.java.nio.ShortBufferImpl; Line 44  import gnu.java.nio.ShortBufferImpl;
44  public abstract class ShortBuffer extends Buffer  public abstract class ShortBuffer extends Buffer
45    implements Comparable    implements Comparable
46  {  {
47    protected int array_offset;    int array_offset;
48    protected short [] backing_buffer;    short[] backing_buffer;
49    
50    protected ShortBuffer (int capacity, int limit, int position, int mark)    protected ShortBuffer (int capacity, int limit, int position, int mark)
51    {    {
# Line 54  public abstract class ShortBuffer extend Line 53  public abstract class ShortBuffer extend
53      array_offset = 0;      array_offset = 0;
54    }    }
55    
56    protected ShortBuffer (short[] buffer, int offset, int capacity, int limit, int position, int mark)    ShortBuffer (short[] buffer, int offset, int capacity, int limit, int position, int mark)
57    {    {
58      super (capacity, limit, position, mark);      super (capacity, limit, position, mark);
59      this.backing_buffer = buffer;      this.backing_buffer = buffer;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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