|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.sound.sampled.Control.Type
An instance of the Type
class represents the type of
the control. Static instances are provided for the
common types.
Constructor Summary | |
protected |
Control.Type(String name)
Constructs a new control type with the name specified. |
Method Summary | |
boolean |
equals(Object obj)
Finalizes the equals method |
int |
hashCode()
Finalizes the hashCode method |
String |
toString()
Provides the String representation of the control type. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected Control.Type(String name)
name
- the name of the new control type.Method Detail |
public final boolean equals(Object obj)
equals
in class Object
java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.Boolean.hashCode()
,
Hashtable
public final int hashCode()
hashCode
in class Object
java.lang.Object
Object.equals(java.lang.Object)
,
Hashtable
public final String toString()
String
representation of the control type. This String
is
the same name that was passed to the constructor.toString
in class Object
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.