Lines Matching defs:Attributes

42  * The Attributes class maps Manifest attribute names to associated string
54 public class Attributes implements Map<Object,Object>, Cloneable {
61 * Constructs a new, empty Attributes object with default size.
63 public Attributes() {
68 * Constructs a new, empty Attributes object with the specified
73 public Attributes(int size) {
78 * Constructs a new Attributes object with the same attribute name-value
79 * mappings as in the specified Attributes.
81 * @param attr the specified Attributes
83 public Attributes(Attributes attr) {
107 * return (String)get(new Attributes.Name((String)name));
116 return (String)get(new Attributes.Name(name));
120 * Returns the value of the specified Attributes.Name, or null if the
128 * @param name the Attributes.Name object
144 * @exception ClassCastException if the name is not a Attributes.Name
148 return map.put((Attributes.Name)name, (String)value);
159 * return (String)put(new Attributes.Name(name), value);
206 * Attributes to this Map. Duplicate mappings will be replaced.
208 * @param attr the Attributes to be stored in this map
209 * @exception ClassCastException if attr is not an Attributes
213 if (!Attributes.class.isInstance(attr))
263 * Compares the specified Attributes object with this Map for equality.
264 * Returns true if the given object is also an instance of Attributes
265 * and the two Attributes objects represent the same mappings.
282 * Returns a copy of the Attributes, implemented as follows:
284 * public Object clone() { return new Attributes(this); }
287 * the Attributes returned can be safely modified without affecting
291 return new Attributes(this);
439 * The Attributes.Name class represents an attribute name stored in