javax.print.attribute
Class HashPrintJobAttributeSet

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.print.attribute.HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet 
      extended by javax.print.attribute.HashPrintJobAttributeSet
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , AttributeSet sample code for javax.print.attribute.AttributeSet definition code for javax.print.attribute.AttributeSet , PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet

public class HashPrintJobAttributeSet
extends HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet
implements PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet , Serializable sample code for java.io.Serializable definition code for java.io.Serializable

Class HashPrintJobAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet and enforces the semantic restrictions of interface PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet .

See Also:
Serialized Form

Constructor Summary
HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet() definition code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet() ()
          Construct a new, empty hash print job attribute set.
HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute) definition code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute) (PrintJobAttribute sample code for javax.print.attribute.PrintJobAttribute definition code for javax.print.attribute.PrintJobAttribute  attribute)
          Construct a new hash print job attribute set, initially populated with the given value.
HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute[]) definition code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute[]) (PrintJobAttribute sample code for javax.print.attribute.PrintJobAttribute definition code for javax.print.attribute.PrintJobAttribute [] attributes)
          Construct a new hash print job attribute set, initially populated with the values from the given array.
HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttributeSet) definition code for javax.print.attribute.HashPrintJobAttributeSet.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttributeSet) (PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet  attributes)
          Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the PrintJobAttribute interface.
 
Method Summary
 
Methods inherited from class javax.print.attribute.HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet
add sample code for javax.print.attribute.HashAttributeSet.add(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.add(javax.print.attribute.Attribute) , addAll sample code for javax.print.attribute.HashAttributeSet.addAll(javax.print.attribute.AttributeSet) definition code for javax.print.attribute.HashAttributeSet.addAll(javax.print.attribute.AttributeSet) , clear sample code for javax.print.attribute.HashAttributeSet.clear() definition code for javax.print.attribute.HashAttributeSet.clear() , containsKey sample code for javax.print.attribute.HashAttributeSet.containsKey(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.containsKey(java.lang.Class) , containsValue sample code for javax.print.attribute.HashAttributeSet.containsValue(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.containsValue(javax.print.attribute.Attribute) , equals sample code for javax.print.attribute.HashAttributeSet.equals(java.lang.Object) definition code for javax.print.attribute.HashAttributeSet.equals(java.lang.Object) , get sample code for javax.print.attribute.HashAttributeSet.get(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.get(java.lang.Class) , hashCode sample code for javax.print.attribute.HashAttributeSet.hashCode() definition code for javax.print.attribute.HashAttributeSet.hashCode() , isEmpty sample code for javax.print.attribute.HashAttributeSet.isEmpty() definition code for javax.print.attribute.HashAttributeSet.isEmpty() , remove sample code for javax.print.attribute.HashAttributeSet.remove(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.remove(javax.print.attribute.Attribute) , remove sample code for javax.print.attribute.HashAttributeSet.remove(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.remove(java.lang.Class) , size sample code for javax.print.attribute.HashAttributeSet.size() definition code for javax.print.attribute.HashAttributeSet.size() , toArray sample code for javax.print.attribute.HashAttributeSet.toArray() definition code for javax.print.attribute.HashAttributeSet.toArray()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface javax.print.attribute.PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet
add sample code for javax.print.attribute.PrintJobAttributeSet.add(javax.print.attribute.Attribute) definition code for javax.print.attribute.PrintJobAttributeSet.add(javax.print.attribute.Attribute) , addAll sample code for javax.print.attribute.PrintJobAttributeSet.addAll(javax.print.attribute.AttributeSet) definition code for javax.print.attribute.PrintJobAttributeSet.addAll(javax.print.attribute.AttributeSet)
 
Methods inherited from interface javax.print.attribute.AttributeSet sample code for javax.print.attribute.AttributeSet definition code for javax.print.attribute.AttributeSet
clear sample code for javax.print.attribute.AttributeSet.clear() definition code for javax.print.attribute.AttributeSet.clear() , containsKey sample code for javax.print.attribute.AttributeSet.containsKey(java.lang.Class) definition code for javax.print.attribute.AttributeSet.containsKey(java.lang.Class) , containsValue sample code for javax.print.attribute.AttributeSet.containsValue(javax.print.attribute.Attribute) definition code for javax.print.attribute.AttributeSet.containsValue(javax.print.attribute.Attribute) , equals sample code for javax.print.attribute.AttributeSet.equals(java.lang.Object) definition code for javax.print.attribute.AttributeSet.equals(java.lang.Object) , get sample code for javax.print.attribute.AttributeSet.get(java.lang.Class) definition code for javax.print.attribute.AttributeSet.get(java.lang.Class) , hashCode sample code for javax.print.attribute.AttributeSet.hashCode() definition code for javax.print.attribute.AttributeSet.hashCode() , isEmpty sample code for javax.print.attribute.AttributeSet.isEmpty() definition code for javax.print.attribute.AttributeSet.isEmpty() , remove sample code for javax.print.attribute.AttributeSet.remove(javax.print.attribute.Attribute) definition code for javax.print.attribute.AttributeSet.remove(javax.print.attribute.Attribute) , remove sample code for javax.print.attribute.AttributeSet.remove(java.lang.Class) definition code for javax.print.attribute.AttributeSet.remove(java.lang.Class) , size sample code for javax.print.attribute.AttributeSet.size() definition code for javax.print.attribute.AttributeSet.size() , toArray sample code for javax.print.attribute.AttributeSet.toArray() definition code for javax.print.attribute.AttributeSet.toArray()
 

Constructor Detail

HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet() definition code for javax.print.attribute.HashPrintJobAttributeSet()

public HashPrintJobAttributeSet()
Construct a new, empty hash print job attribute set.


HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute) definition code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute)

public HashPrintJobAttributeSet(PrintJobAttribute sample code for javax.print.attribute.PrintJobAttribute definition code for javax.print.attribute.PrintJobAttribute  attribute)
Construct a new hash print job attribute set, initially populated with the given value.

Parameters:
attribute - Attribute value to add to the set.
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - (unchecked exception) Thrown if attribute is null.

HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute[]) definition code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttribute[])

public HashPrintJobAttributeSet(PrintJobAttribute sample code for javax.print.attribute.PrintJobAttribute definition code for javax.print.attribute.PrintJobAttribute [] attributes)
Construct a new hash print job attribute set, initially populated with the values from the given array. The new attribute set is populated by adding the elements of attributes array to the set in sequence, starting at index 0. Thus, later array elements may replace earlier array elements if the array contains duplicate attribute values or attribute categories.

Parameters:
attributes - Array of attribute values to add to the set. If null, an empty attribute set is constructed.
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - (unchecked exception) Thrown if any element of attributes is null.

HashPrintJobAttributeSet sample code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttributeSet) definition code for javax.print.attribute.HashPrintJobAttributeSet(javax.print.attribute.PrintJobAttributeSet)

public HashPrintJobAttributeSet(PrintJobAttributeSet sample code for javax.print.attribute.PrintJobAttributeSet definition code for javax.print.attribute.PrintJobAttributeSet  attributes)
Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the PrintJobAttribute interface.

Parameters:
attributes - set of attribute values to initialise the set. If null, an empty attribute set is constructed.
Throws:
ClassCastException sample code for java.lang.ClassCastException definition code for java.lang.ClassCastException - (unchecked exception) Thrown if any element of attributes is not an instance of PrintJobAttribute.