javax.sound.midi
public static class MidiDevice.Info extends Object
Modifier | Constructor and Description |
---|---|
protected |
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Create an Info object for a MIDI device
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
This equals method only returns true if this object
is the same as obj.
|
String |
getDescription()
Get the device description
|
String |
getName()
Get the device name.
|
String |
getVendor()
Get the device vendor.
|
String |
getVersion()
get the device version
|
int |
hashCode()
A hash code for this object.
|
String |
toString()
Simple return the name of the device.
|
protected MidiDevice.Info(String name, String vendor, String description, String version)
name
- the device namevendor
- the vendor namedescription
- the device descriptionversion
- the device version stringpublic final boolean equals(Object obj)
equals
in class Object
obj
- the object we're comparing toObject.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public final String getDescription()
public final String getVersion()
public final String toString()
toString
in class Object
Object.toString()