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

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

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

revision 1.9 by mkoch, Tue Nov 19 11:21:34 2002 UTC revision 1.10 by mkoch, Mon Nov 25 07:50:52 2002 UTC
# Line 54  public final class FloatBufferImpl exten Line 54  public final class FloatBufferImpl exten
54    {    {
55      this.backing_buffer = new float[cap];      this.backing_buffer = new float[cap];
56      this.cap = cap;      this.cap = cap;
     this.position(off);  
57      this.limit(lim);      this.limit(lim);
58        this.position(off);
59    }    }
60        
61    public FloatBufferImpl(float[] array, int off, int lim)    public FloatBufferImpl(float[] array, int off, int lim)
62    {    {
63      this.backing_buffer = array;      this.backing_buffer = array;
64      this.cap = array.length;      this.cap = array.length;
     this.position(off);  
65      this.limit(lim);      this.limit(lim);
66        this.position(off);
67    }    }
68        
69    public FloatBufferImpl(FloatBufferImpl copy)    public FloatBufferImpl(FloatBufferImpl copy)
70    {    {
71      backing_buffer = copy.backing_buffer;      backing_buffer = copy.backing_buffer;
72      ro = copy.ro;      ro = copy.ro;
     position(copy.position());  
73      limit(copy.limit());      limit(copy.limit());
74        position(copy.position());
75    }    }
76        
77    void inc_pos(int a)    void inc_pos(int a)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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