< prev index next >
src/java.desktop/share/classes/com/sun/media/sound/SunFileWriter.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 67,77 ****
/**
* rllong
* Protected helper method to read 64 bits and changing the order of
* each bytes.
- * @param DataInputStream
* @return 32 bits swapped value.
* @exception IOException
*/
final int rllong(DataInputStream dis) throws IOException {
--- 67,76 ----
*** 91,101 ****
}
/**
* big2little
* Protected helper method to swap the order of bytes in a 32 bit int
- * @param int
* @return 32 bits swapped value
*/
final int big2little(int i) {
int b1, b2, b3, b4 ;
--- 90,99 ----
*** 111,121 ****
}
/**
* rlshort
* Protected helper method to read 16 bits value. Swap high with low byte.
- * @param DataInputStream
* @return the swapped value.
* @exception IOException
*/
final short rlshort(DataInputStream dis) throws IOException {
--- 109,118 ----
*** 133,143 ****
}
/**
* big2little
* Protected helper method to swap the order of bytes in a 16 bit short
- * @param int
* @return 16 bits swapped value
*/
final short big2littleShort(short i) {
short high, low;
--- 130,139 ----
< prev index next >