public class HashPrintJobAttributeSet extends HashAttributeSet implements Serializable, PrintJobAttributeSet
HashPrintJobAttributeSet
provides an implementation of
PrintJobAttributeSet
.Constructor and Description |
---|
HashPrintJobAttributeSet()
Creates an empty
HashPrintJobAttributeSet object. |
HashPrintJobAttributeSet(PrintJobAttribute attribute)
Creates a
HashPrintJobAttributeSet object with the given
attribute in it. |
HashPrintJobAttributeSet(PrintJobAttribute[] attributes)
Creates a
HashPrintJobAttributeSet object with the given
attributes in it. |
HashPrintJobAttributeSet(PrintJobAttributeSet attributes)
Creates a
HashPrintJobAttributeSet object with the attributes
of the given attributes set in it. |
add, addAll, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
add, addAll
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray
public HashPrintJobAttributeSet()
HashPrintJobAttributeSet
object.public HashPrintJobAttributeSet(PrintJobAttribute attribute)
HashPrintJobAttributeSet
object with the given
attribute in it.attribute
- the attribute to put into the attribute setNullPointerException
- if attribute is nullpublic HashPrintJobAttributeSet(PrintJobAttribute[] attributes)
HashPrintJobAttributeSet
object with the given
attributes in it.attributes
- the array of attributes to put into the set. If
null
an empty set is created.NullPointerException
- if one of the attributes of the given
array is null.public HashPrintJobAttributeSet(PrintJobAttributeSet attributes)
HashPrintJobAttributeSet
object with the attributes
of the given attributes set in it.attributes
- the attributes set to put into the set. If
null
an empty set is created.ClassCastException
- if any element of attributes is not
an instance of PrintJobAttribute