|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.midi.MidiDevice.Info
public static class MidiDevice.Info
A MIDI device descriptor object.
Constructor Summary | |
---|---|
protected |
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Create an Info object for a MIDI device |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected MidiDevice.Info(String name, String vendor, String description, String version)
name
- the device namevendor
- the vendor namedescription
- the device descriptionversion
- the device version stringMethod Detail |
---|
public final boolean equals(Object obj)
equals
in class Object
obj
- the object we're comparing to
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public final String getName()
public final String getVendor()
public final String getDescription()
public final String getVersion()
public final String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |