addAll method

void addAll(
  1. List<Attribute> attributes
)

Add all Attributes in List attributes. If an Attribute with the same key already exists, it will be overwritten.

Implementation

void addAll(List<Attribute> attributes) {
  attributes.forEach(add);
}