/[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.17.2.2 by gnu_andrew, Fri Jan 14 10:24:16 2005 UTC revision 1.17.2.3 by gnu_andrew, Sat Jan 15 17:01:57 2005 UTC
# Line 68  public abstract class ShortBuffer extend Line 68  public abstract class ShortBuffer extend
68     * @exception IndexOutOfBoundsException If the preconditions on the offset     * @exception IndexOutOfBoundsException If the preconditions on the offset
69     * and length parameters do not hold     * and length parameters do not hold
70     */     */
71    final public static ShortBuffer wrap (short[] array, int offset, int length)    public static final ShortBuffer wrap (short[] array, int offset, int length)
72    {    {
73      return new ShortBufferImpl (array, 0, array.length, offset + length, offset, -1, false);      return new ShortBufferImpl (array, 0, array.length, offset + length, offset, -1, false);
74    }    }
# Line 77  public abstract class ShortBuffer extend Line 77  public abstract class ShortBuffer extend
77     * Wraps a <code>short</code> array into a <code>ShortBuffer</code>     * Wraps a <code>short</code> array into a <code>ShortBuffer</code>
78     * object.     * object.
79     */     */
80    final public static ShortBuffer wrap (short[] array)    public static final ShortBuffer wrap (short[] array)
81    {    {
82      return wrap (array, 0, array.length);      return wrap (array, 0, array.length);
83    }    }

Legend:
Removed from v.1.17.2.2  
changed lines
  Added in v.1.17.2.3

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