public class HashPrintRequestAttributeSet extends HashAttributeSet implements Serializable, PrintRequestAttributeSet
HashPrintRequestAttributeSet provides an implementation of
PrintRequestAttributeSet.| Constructor and Description |
|---|
HashPrintRequestAttributeSet()
Creates an empty
HashPrintRequestAttributeSet object. |
HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
Creates a
HashPrintRequestAttributeSet object with the given
attribute in it. |
HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
Creates a
HashPrintRequestAttributeSet object with the given
attributes in it. |
HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
Creates a
HashPrintRequestAttributeSet object with the attributes
of the given attributes set in it. |
add, addAll, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArrayclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitadd, addAllclear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArraypublic HashPrintRequestAttributeSet()
HashPrintRequestAttributeSet object.public HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
HashPrintRequestAttributeSet object with the given
attribute in it.attribute - the attribute to put into the attribute setNullPointerException - if attribute is nullpublic HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
HashPrintRequestAttributeSet 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 HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
HashPrintRequestAttributeSet 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 PrintRequestAttribute