< prev index next >
src/java.desktop/share/classes/javax/sound/sampled/Line.java
Print this page
@@ -235,12 +235,12 @@
/**
* Constructs an info object that describes a line of the specified
* class. This constructor is typically used by an application to
* describe a desired line.
*
- * @param lineClass the class of the line that the new Line.Info object
- * describes
+ * @param lineClass the class of the line that the new
+ * {@code Line.Info} object describes
*/
public Info(Class<?> lineClass) {
if (lineClass == null) {
this.lineClass = Line.class;
@@ -248,28 +248,29 @@
this.lineClass = lineClass;
}
}
/**
- * Obtains the class of the line that this Line.Info object describes.
+ * Obtains the class of the line that this {@code Line.Info} object
+ * describes.
*
* @return the described line's class
*/
public Class<?> getLineClass() {
return lineClass;
}
/**
* Indicates whether the specified info object matches this one. To
* match, the specified object must be identical to or a special case of
- * this one. The specified info object must be either an instance of
- * the same class as this one, or an instance of a sub-type of this one.
- * In addition, the attributes of the specified object must be
- * compatible with the capabilities of this one. Specifically, the
- * routing configuration for the specified info object must be
- * compatible with that of this one. Subclasses may add other criteria
- * to determine whether the two objects match.
+ * this one. The specified info object must be either an instance of the
+ * same class as this one, or an instance of a sub-type of this one. In
+ * addition, the attributes of the specified object must be compatible
+ * with the capabilities of this one. Specifically, the routing
+ * configuration for the specified info object must be compatible with
+ * that of this one. Subclasses may add other criteria to determine
+ * whether the two objects match.
*
* @param info the info object which is being compared to this one
* @return {@code true} if the specified object matches this one,
* {@code false} otherwise
*/
< prev index next >