public void removeAttributes(String name,GoogleBaseAttributeType type){
  Iterator<GoogleBaseAttribute> iter=attributes.iterator();
  while (iter.hasNext()) {
    GoogleBaseAttribute attribute=iter.next();
    if (hasNameAndType(attribute,name,type)) {
      iter.remove();
    }
  }
}

public void removeAttributes ( String name , GoogleBaseAttributeType type ) { Iterator < GoogleBaseAttribute > iter = attributes . iterator ( ) ; while ( iter . hasNext ( ) ) { GoogleBaseAttribute attribute = iter . next ( ) ; if ( hasNameAndType ( attribute , name , type ) ) { iter . remove ( ) ; } } }
removes all attributes with a certain name and type from the list .
