| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static class MidiDevice.Info extends Object
A MidiDevice.Info
object contains assorted
data about a {@link MidiDevice}
, including its
name, the company who created it, and descriptive text.
Constructor Summary | |
---|---|
protected |
MidiDevice.Info(String name, String vendor, String description, String version) Constructs a device info object. |
Method Summary | |
---|---|
boolean |
Reports whether two objects are equal. |
String |
Obtains the description of the device. |
String |
getName() Obtains the name of the device. |
String |
Obtains the name of the company who supplies the device. |
String |
Obtains the version of the device. |
int |
hashCode() Finalizes the hashcode method. |
String |
toString() Provides a string representation of the device information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MidiDevice.Info(String name, String vendor, String description, String version)
name
- the name of the devicevendor
- the name of the company who provides the devicedescription
- a description of the deviceversion
- version information for the deviceMethod Detail |
---|
public final boolean equals(Object obj)
true
if the objects are identical.
equals
in class Object
obj
- the reference object with which to compare this
objecttrue
if this object is the same as the
obj
argument; false
otherwisepublic final String getDescription()
public final String getName()
public final String getVendor()
public final String getVersion()
public final int hashCode()
hashCode
in class Object
public final String toString()
toString
in class Object
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |