Package net.sf.freecol.common.option
Class AudioMixerOption.MixerWrapper
- java.lang.Object
-
- net.sf.freecol.common.option.AudioMixerOption.MixerWrapper
-
- All Implemented Interfaces:
java.lang.Comparable<AudioMixerOption.MixerWrapper>
- Enclosing class:
- AudioMixerOption
public static class AudioMixerOption.MixerWrapper extends java.lang.Object implements java.lang.Comparable<AudioMixerOption.MixerWrapper>
A wrapper for the mixer, including the Mixer.Info including a potentially null value.
-
-
Constructor Summary
Constructors Constructor Description MixerWrapper(java.lang.String name, javax.sound.sampled.Mixer.Info mixerInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AudioMixerOption.MixerWrapper mw)
boolean
equals(java.lang.Object o)
java.lang.String
getKey()
javax.sound.sampled.Mixer.Info
getMixerInfo()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
-
getMixerInfo
public javax.sound.sampled.Mixer.Info getMixerInfo()
-
compareTo
public int compareTo(AudioMixerOption.MixerWrapper mw)
- Specified by:
compareTo
in interfacejava.lang.Comparable<AudioMixerOption.MixerWrapper>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-