public class HashPrintServiceAttributeSet extends HashAttributeSet implements Serializable, PrintServiceAttributeSet
HashPrintServiceAttributeSet
provides an implementation of
PrintServiceAttributeSet
.Constructor and Description |
---|
HashPrintServiceAttributeSet()
Creates an empty
HashPrintServiceAttributeSet object. |
HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
Creates a
HashPrintServiceAttributeSet object with the given
attribute in it. |
HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
Creates a
HashPrintServiceAttributeSet object with the given
attributes in it. |
HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
Creates a
HashPrintServiceAttributeSet 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 HashPrintServiceAttributeSet()
HashPrintServiceAttributeSet
object.public HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
HashPrintServiceAttributeSet
object with the given
attribute in it.attribute
- the attribute to put into the attribute setNullPointerException
- if attribute is nullpublic HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
HashPrintServiceAttributeSet
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 HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
HashPrintServiceAttributeSet
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 PrintServiceAttribute