question: public boolean add ( Attribute attribute ) { Object oldAttribute = attrMap . put ( attribute . getCategory ( ) , AttributeSetUtilities . verifyAttributeValue ( attribute , myInterface ) ) ; return ( ! attribute . equals ( oldAttribute ) ) ; }
target:  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.