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

Diff of /classpath/java/nio/ByteBuffer.java

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

revision 1.23 by smarothy, Fri Sep 17 14:16:52 2004 UTC revision 1.24 by mkoch, Fri Oct 22 17:15:56 2004 UTC
# Line 77  public abstract class ByteBuffer extends Line 77  public abstract class ByteBuffer extends
77     * @exception IndexOutOfBoundsException If the preconditions on the offset     * @exception IndexOutOfBoundsException If the preconditions on the offset
78     * and length parameters do not hold     * and length parameters do not hold
79     */     */
80    final public static ByteBuffer wrap (byte[] array, int offset, int length)    public static final ByteBuffer wrap (byte[] array, int offset, int length)
81    {    {
82      // FIXME: In GCJ and other implementations where arrays may not      // FIXME: In GCJ and other implementations where arrays may not
83      // move we might consider, at least when offset==0:      // move we might consider, at least when offset==0:
# Line 94  public abstract class ByteBuffer extends Line 94  public abstract class ByteBuffer extends
94     * Wraps a <code>byte</code> array into a <code>ByteBuffer</code>     * Wraps a <code>byte</code> array into a <code>ByteBuffer</code>
95     * object.     * object.
96     */     */
97    final public static ByteBuffer wrap (byte[] array)    public static final ByteBuffer wrap (byte[] array)
98    {    {
99      return wrap (array, 0, array.length);      return wrap (array, 0, array.length);
100    }    }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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