< prev index next >

src/java.desktop/share/classes/javax/sound/midi/Sequencer.java

Print this page

        

*** 322,331 **** --- 322,332 ---- * Obtains the current position in the sequence, expressed in microseconds. * * @return the current position in microseconds * @see #setMicrosecondPosition */ + @Override long getMicrosecondPosition(); /** * Sets the current position in the sequence, expressed in microseconds. *
*** 678,688 **** class SyncMode { /** * Synchronization mode name. */ ! private String name; /** * Constructs a synchronization mode. * * @param name name of the synchronization mode --- 679,689 ---- class SyncMode { /** * Synchronization mode name. */ ! private final String name; /** * Constructs a synchronization mode. * * @param name name of the synchronization mode
*** 698,715 **** --- 699,718 ---- * * @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 */ + @Override public final boolean equals(Object obj) { return super.equals(obj); } /** * Finalizes the hashcode method. */ + @Override public final int hashCode() { return super.hashCode(); }
*** 717,726 **** --- 720,730 ---- * Provides this synchronization mode's name as the string * representation of the mode. * * @return the name of this synchronization mode */ + @Override public final String toString() { return name; }
< prev index next >