Record Class MidiMix.InsMixChange
java.lang.Object
java.lang.Record
org.jjazz.midimix.api.MidiMix.InsMixChange
- Record Components:
channel- Midi channelrv- Cannot be nulloldInsMix- Cannot be null if newInsMix is null.newInsMix- Cannot be null if oldInsMix is null.
- Enclosing interface:
MidiMix
public static record MidiMix.InsMixChange(int channel, RhythmVoice rv, InstrumentMix oldInsMix, InstrumentMix newInsMix)
extends Record
Describe an InstrumentMix change added (oldInsMix is null), removed (newInsMix is null), or replaced for a given RhythmVoice-channel pair.
-
Constructor Summary
ConstructorsConstructorDescriptionInsMixChange(int channel, RhythmVoice rv, InstrumentMix oldInsMix, InstrumentMix newInsMix) Creates an instance of aInsMixChangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintchannel()Returns the value of thechannelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenewInsMixrecord component.Returns the value of theoldInsMixrecord component.rv()Returns the value of thervrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
channel
-
rv
-
oldInsMix
-
newInsMix
-