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 |
|
|
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 |
{ |
{ |
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 |
*/ |
*/ |
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 |
{ |
{ |
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 |
*/ |
*/ |