public static class Sequencer.SyncMode extends Object
SyncMode object represents one of the ways in which a MIDI
 sequencer's notion of time can be synchronized with a master or slave
 device. If the sequencer is being synchronized to a master, the sequencer
 revises its current time in response to messages from the master. If the
 sequencer has a slave, the sequencer similarly sends messages to control
 the slave's timing.
 
 There are three predefined modes that specify possible masters for a
 sequencer: INTERNAL_CLOCK, MIDI_SYNC, and
 MIDI_TIME_CODE. The latter two work if the sequencer receives
 MIDI messages from another device. In these two modes, the sequencer's
 time gets reset based on system real-time timing clock messages or MIDI
 time code (MTC) messages, respectively. These two modes can also be used
 as slave modes, in which case the sequencer sends the corresponding types
 of MIDI messages to its receiver (whether or not the sequencer is also
 receiving them from a master). A fourth mode, NO_SYNC, is used to
 indicate that the sequencer should not control its receiver's timing.
| Modifier and Type | Field and Description | 
|---|---|
| static Sequencer.SyncMode | INTERNAL_CLOCKA master synchronization mode that makes the sequencer get its timing
 information from its internal clock. | 
| static Sequencer.SyncMode | MIDI_SYNCA master or slave synchronization mode that specifies the use of MIDI
 clock messages. | 
| static Sequencer.SyncMode | MIDI_TIME_CODEA master or slave synchronization mode that specifies the use of MIDI
 Time Code. | 
| static Sequencer.SyncMode | NO_SYNCA slave synchronization mode indicating that no timing information
 should be sent to the receiver. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | SyncMode(String name)Constructs a synchronization mode. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj)Determines whether two objects are equal. | 
| int | hashCode()Finalizes the hashcode method. | 
| String | toString()Provides this synchronization mode's name as the string
 representation of the mode. | 
public static final Sequencer.SyncMode INTERNAL_CLOCK
public static final Sequencer.SyncMode MIDI_SYNC
public static final Sequencer.SyncMode MIDI_TIME_CODE
public static final Sequencer.SyncMode NO_SYNC
protected SyncMode(String name)
name - name of the synchronization modepublic final boolean equals(Object obj)
true if the
 objects are identical.equals in class Objectobj - the reference object with which to comparetrue if this object is the same as the obj
         argument, false otherwiseObject.hashCode(), 
HashMappublic final int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object) Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. 
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait