|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.sound.sampled.Mixer.Info
public static class Mixer.Info
An Info object describes a mixer.
| Constructor Summary | |
|---|---|
protected |
Mixer.Info(String name,
String vendor,
String desc,
String vers)
Create a new mixer description. |
| Method Summary | |
|---|---|
boolean |
equals(Object o)
equals compares this object to another object. |
String |
getDescription()
Return the mixer's description. |
String |
getName()
Return the name of the mixer. |
String |
getVendor()
Return the mixer's vendor. |
String |
getVersion()
Return the mixer's version. |
int |
hashCode()
hashCode returns a hash code for this object. |
String |
toString()
toString creates a printable string that represents this object for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Mixer.Info(String name,
String vendor,
String desc,
String vers)
name - the name of the mixervendor - the vendordesc - a descriptive stringvers - the mixer's version| Method Detail |
|---|
public final boolean equals(Object o)
ObjectEquals must be symmetric (a.equals(b) == b.equals(a)), reflexive (a.equals(a)==true) and transitive (a.equals(b) && b.equals(c) IMPLIES (a.equals(c))) and not change over time (a.equals(b) == a.equals(b)). a.equals(null) should always return false.
If a.equals(b) is true for two objects a and b, then a.hashCode()==b.hashCode() must hold.
The default implementation of equals returns this==other.
equals in class Objecto - the other object.
public final int hashCode()
ObjectThe default implementation returns System.identityHashCode(this).
hashCode in class Objectpublic final String getName()
public final String getDescription()
public final String getVendor()
public final String getVersion()
public final String toString()
ObjectThe default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||