summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java')
-rw-r--r--libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java22
1 files changed, 15 insertions, 7 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java b/libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java
index 1da2e1b466a..d3c0952fcae 100644
--- a/libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java
+++ b/libjava/classpath/javax/print/attribute/standard/NumberOfInterveningJobs.java
@@ -1,5 +1,5 @@
/* NumberOfInterveningJobs.java --
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -41,6 +41,13 @@ import javax.print.attribute.IntegerSyntax;
import javax.print.attribute.PrintJobAttribute;
/**
+ * The <code>NumberOfInterveningJobs</code> printing attribute provides
+ * the number of jobs ahead in the print service queue before the
+ * requested job.
+ * <p>
+ * <b>IPP Compatibility:</b> NumberOfInterveningJobs is an IPP 1.1 attribute.
+ * </p>
+ *
* @author Michael Koch
*/
public final class NumberOfInterveningJobs extends IntegerSyntax
@@ -53,7 +60,7 @@ public final class NumberOfInterveningJobs extends IntegerSyntax
*
* @param value the number of intervening jobs
*
- * @exception IllegalArgumentException if value < 0
+ * @exception IllegalArgumentException if value &lt; 0
*/
public NumberOfInterveningJobs(int value)
{
@@ -64,11 +71,12 @@ public final class NumberOfInterveningJobs extends IntegerSyntax
}
/**
- * Tests of obj is equal to this object.
+ * Tests if the given object is equal to this object.
*
* @param obj the object to test
*
- * @return true if both objects are equal, false otherwise.
+ * @return <code>true</code> if both objects are equal,
+ * <code>false</code> otherwise.
*/
public boolean equals(Object obj)
{
@@ -81,7 +89,7 @@ public final class NumberOfInterveningJobs extends IntegerSyntax
/**
* Returns category of this class.
*
- * @return the class <code>NumberOfInterveningJobs</code> itself
+ * @return The class <code>NumberOfInterveningJobs</code> itself.
*/
public Class getCategory()
{
@@ -89,9 +97,9 @@ public final class NumberOfInterveningJobs extends IntegerSyntax
}
/**
- * Returns name of this class.
+ * Returns the name of this attribute.
*
- * @return the string "number-of-intervening-jobs"
+ * @return The name "number-of-intervening-jobs".
*/
public String getName()
{
OpenPOWER on IntegriCloud