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.DoubleBufferImpl; |
package java.nio; |
40 |
|
|
41 |
/** |
/** |
42 |
* @since 1.4 |
* @since 1.4 |
44 |
public abstract class DoubleBuffer extends Buffer |
public abstract class DoubleBuffer extends Buffer |
45 |
implements Comparable |
implements Comparable |
46 |
{ |
{ |
47 |
protected int array_offset; |
int array_offset; |
48 |
protected double [] backing_buffer; |
double[] backing_buffer; |
49 |
|
|
50 |
protected DoubleBuffer (int capacity, int limit, int position, int mark) |
protected DoubleBuffer (int capacity, int limit, int position, int mark) |
51 |
{ |
{ |
53 |
array_offset = 0; |
array_offset = 0; |
54 |
} |
} |
55 |
|
|
56 |
protected DoubleBuffer (double[] buffer, int offset, int capacity, int limit, int position, int mark) |
DoubleBuffer (double[] 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; |