< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/JobKOctetsProcessed.java

Print this page

        

@@ -55,11 +55,11 @@
  * are produced by the interpreter by processing the data for each copy, the
  * final value must be a multiple of the value of the {@link JobKOctets
  * JobKOctets} attribute.
  * <P>
  * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
- * category name returned by <CODE>getName()</CODE> gives the IPP attribute
+ * category name returned by {@code getName()} gives the IPP attribute
  * name.
  *
  * @see JobKOctets
  * @see JobKOctetsSupported
  * @see JobImpressionsCompleted

@@ -77,11 +77,11 @@
      * value.
      *
      * @param  value  Integer value.
      *
      * @exception  IllegalArgumentException
-     *  (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.
+     *  (Unchecked exception) Thrown if {@code value} is less than 0.
      */
     public JobKOctetsProcessed(int value) {
         super (value, 0, Integer.MAX_VALUE);
     }
 

@@ -89,21 +89,21 @@
      * Returns whether this job K octets processed attribute is equivalent to
      * the passed in object. To be equivalent, all of the following conditions
      * must be true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class JobKOctetsProcessed.
+     * {@code object} is an instance of class JobKOctetsProcessed.
      * <LI>
      * This job K octets processed attribute's value and
-     * <CODE>object</CODE>'s value are equal.
+     * {@code object}'s value are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this job K
+     * @return  True if {@code object} is equivalent to this job K
      *          octets processed attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return(super.equals (object) &&
                object instanceof JobKOctetsProcessed);

@@ -126,11 +126,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class JobKOctetsProcessed, the category name is
-     * <CODE>"job-k-octets-processed"</CODE>.
+     * {@code "job-k-octets-processed"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "job-k-octets-processed";
< prev index next >