API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. HashAttributeSet View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      HashAttributeSet
Implements
 AttributeSet
 Serializable
Subclasses
Description
public class HashAttributeSet
  Class HashAttributeSet provides an AttributeSet implementation with characteristics of a hash map.
See also:   
Constructors
public HashAttributeSet ()
Construct a new, empty attribute set.
public HashAttributeSet (Attribute attribute)
  Construct a new attribute set, initially populated with the given attribute.
public HashAttributeSet (Attribute attributes)
  Construct a new attribute set, initially populated with the values from the given array.
protected HashAttributeSet (Attribute attributes, Class<Object> interfaceName)
  Construct a new attribute set, where the members of the attribute set are restricted to the given interface.
protected HashAttributeSet (Attribute attribute, Class<Object> interfaceName)
  Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface.
public HashAttributeSet (AttributeSet attributes)
  Construct a new attribute set, initially populated with the values from the given set.
protected HashAttributeSet (AttributeSet attributes, Class<Object> interfaceName)
  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 given interface.
protected HashAttributeSet (Class<Object> interfaceName)
  Construct a new, empty attribute set, where the members of the attribute set are restricted to the given interface.
Methods
Hide/Show inherited methods
public boolean add (Attribute attribute) [Specified in AttributeSet]
  Adds the specified attribute to this attribute set if it is not already present, first removing any existing in the same attribute category as the specified attribute value.
public boolean addAll (AttributeSet attributes) [Specified in AttributeSet]
  Adds all of the elements in the specified set to this attribute.
public void clear () [Specified in AttributeSet]
  Removes all attributes from this attribute set.
public boolean containsKey (Class<Object> category) [Specified in AttributeSet]
  Returns true if this attribute set contains an attribute for the specified category.
public boolean containsValue (Attribute attribute) [Specified in AttributeSet]
  Returns true if this attribute set contains the given attribute.
public boolean equals (Object object) [Specified in AttributeSet]
  Compares the specified object with this attribute set for equality.
public Attribute get (Class<Object> category) [Specified in AttributeSet]
  Returns the attribute value which this attribute set contains in the given attribute category.
public int hashCode () [Specified in AttributeSet]
  Returns the hash code value for this attribute set.
public boolean isEmpty () [Specified in AttributeSet]
  Returns true if this attribute set contains no attributes.
public boolean remove (Attribute attribute) [Specified in AttributeSet]
  Removes the specified attribute from this attribute set if present.
public boolean remove (Class<Object> category) [Specified in AttributeSet]
  Removes any attribute for this category from this attribute set if present.
public int size () [Specified in AttributeSet]
  Returns the number of attributes in this attribute set.
public Attribute toArray () [Specified in AttributeSet]
 
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar