/[classpath]/classpath/javax/print/attribute/HashPrintJobAttributeSet.java
ViewVC logotype

Diff of /classpath/javax/print/attribute/HashPrintJobAttributeSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Tue Aug 2 20:12:36 2005 UTC revision 1.1.2.2 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 1  Line 1 
1  /* HashPrintJobAttributeSet.java --  /* HashPrintJobAttributeSet.java --
2     Copyright (C) 2003 Free Software Foundation, Inc.     Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 39  package javax.print.attribute; Line 39  package javax.print.attribute;
39    
40  import java.io.Serializable;  import java.io.Serializable;
41    
42    /**
43     * <code>HashPrintJobAttributeSet</code> provides an implementation of
44     * {@link javax.print.attribute.PrintJobAttributeSet}.
45     */
46  public class HashPrintJobAttributeSet extends HashAttributeSet  public class HashPrintJobAttributeSet extends HashAttributeSet
47    implements Serializable, PrintJobAttributeSet    implements Serializable, PrintJobAttributeSet
48  {  {
# Line 56  public class HashPrintJobAttributeSet ex Line 60  public class HashPrintJobAttributeSet ex
60     * Creates a <code>HashPrintJobAttributeSet</code> object with the given     * Creates a <code>HashPrintJobAttributeSet</code> object with the given
61     * attribute in it.     * attribute in it.
62     *     *
63     * @param attribute the attriute tu put into the attribute set     * @param attribute the attribute to put into the attribute set
64     *     *
65     * @exception NullPointerException if attribute is null     * @exception NullPointerException if attribute is null
66     */     */
# Line 69  public class HashPrintJobAttributeSet ex Line 73  public class HashPrintJobAttributeSet ex
73     * Creates a <code>HashPrintJobAttributeSet</code> object with the given     * Creates a <code>HashPrintJobAttributeSet</code> object with the given
74     * attributes in it.     * attributes in it.
75     *     *
76     * @param attributes the attributes to put into the attribute set     * @param attributes the array of attributes to put into the set. If
77       * <code>null</code> an empty set is created.
78     *     *
79     * @exception NullPointerException if attributes is null     * @exception NullPointerException if one of the attributes of the given
80       * array is null.
81     */     */
82    public HashPrintJobAttributeSet(PrintJobAttribute[] attributes)    public HashPrintJobAttributeSet(PrintJobAttribute[] attributes)
83    {    {
# Line 79  public class HashPrintJobAttributeSet ex Line 85  public class HashPrintJobAttributeSet ex
85    }    }
86        
87    /**    /**
88     * Creates a <code>HashPrintJobAttributeSet</code> object with the given     * Creates a <code>HashPrintJobAttributeSet</code> object with the attributes
89     * attributes in it.     * of the given attributes set in it.
    *  
    * @param attributes the attributes to put into the attribute set  
90     *     *
91       * @param attributes the attributes set to put into the set. If
92       * <code>null</code> an empty set is created.
93     * @exception ClassCastException if any element of attributes is not     * @exception ClassCastException if any element of attributes is not
94     * an instance of <code>PrintJobAttribute</code>     * an instance of <code>PrintJobAttribute</code>
95     */     */

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26