jdk/src/share/classes/javax/sound/midi/MidiMessage.java
changeset 21278 ef8a3a2a72f2
parent 19207 3448b0cb4077
child 26003 d630c97424bd
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    57  * can be converted to integers using this conversion:
    57  * can be converted to integers using this conversion:
    58  * <center>{@code int i = (int)(byte & 0xFF)}</center>
    58  * <center>{@code int i = (int)(byte & 0xFF)}</center>
    59  * <p>
    59  * <p>
    60  * If you simply need to pass a known MIDI byte value as a method parameter,
    60  * If you simply need to pass a known MIDI byte value as a method parameter,
    61  * it can be expressed directly as an integer, using (for example) decimal or
    61  * it can be expressed directly as an integer, using (for example) decimal or
    62  * hexidecimal notation.  For instance, to pass the "active sensing" status byte
    62  * hexadecimal notation.  For instance, to pass the "active sensing" status byte
    63  * as the first argument to ShortMessage's
    63  * as the first argument to ShortMessage's
    64  * {@link ShortMessage#setMessage(int) setMessage(int)}
    64  * {@link ShortMessage#setMessage(int) setMessage(int)}
    65  * method, you can express it as 254 or 0xFE.
    65  * method, you can express it as 254 or 0xFE.
    66  *
    66  *
    67  * @see Track
    67  * @see Track