< prev index next >
src/java.desktop/share/classes/javax/sound/midi/Sequencer.java
Print this page
@@ -36,26 +36,26 @@
* editing sequences.
* <p>
* The {@code Sequencer} interface includes methods for the following basic MIDI
* sequencer operations:
* <ul>
- * <li>obtaining a sequence from MIDI file data</li>
- * <li>starting and stopping playback</li>
- * <li>moving to an arbitrary position in the sequence</li>
- * <li>changing the tempo (speed) of playback</li>
+ * <li>obtaining a sequence from MIDI file data
+ * <li>starting and stopping playback
+ * <li>moving to an arbitrary position in the sequence
+ * <li>changing the tempo (speed) of playback
* <li>synchronizing playback to an internal clock or to received MIDI
- * messages</li>
- * <li>controlling the timing of another device</li>
+ * messages
+ * <li>controlling the timing of another device
* </ul>
* In addition, the following operations are supported, either directly, or
* indirectly through objects that the {@code Sequencer} has access to:
* <ul>
* <li>editing the data by adding or deleting individual MIDI events or entire
- * tracks</li>
- * <li>muting or soloing individual tracks in the sequence</li>
- * <li>notifying listener objects about any meta-events or control-change events
- * encountered while playing back the sequence.</li>
+ * tracks
+ * <li>muting or soloing individual tracks in the sequence
+ * <li>notifying listener objects about any meta-events or control-change
+ * events encountered while playing back the sequence
* </ul>
*
* @author Kara Kytle
* @author Florian Bomers
* @see SyncMode
@@ -692,25 +692,28 @@
this.name = name;
}
/**
- * Determines whether two objects are equal. Returns {@code true} if the
- * objects are identical.
+ * Indicates whether the specified object is equal to this
+ * synchronization mode, returning {@code true} if the objects are
+ * identical.
*
* @param obj the reference object with which to compare
- * @return {@code true} if this object is the same as the {@code obj}
- * argument, {@code false} otherwise
+ * @return {@code true} if this synchronization mode is the same as the
+ * {@code obj} argument; {@code false} otherwise
*/
@Override
public final boolean equals(Object obj) {
return super.equals(obj);
}
/**
- * Finalizes the hashcode method.
+ * Returns a hash code value for this synchronization mode.
+ *
+ * @return a hash code value for this synchronization mode
*/
@Override
public final int hashCode() {
return super.hashCode();
< prev index next >