Add a list of Strings to document as elements with given tag name to the
tree.

@param tagName
the tag name
@param listValues
Collection of String values to add
765202
public void writeElementList(String tagName, Collection<String> listValues) {
        for (String listValue : listValues) {
            openTag(tagName);
            writeText(listValue);
            closeTag(tagName);
        }
    }
62843
public CreateNewNoteIntentBuilder addTags(@Nullable ArrayList<String> tags) {
        ArrayList<String> list = mArgs.getStringArrayList(EvernoteIntent.EXTRA_TAG_NAME_LIST);
        if (list == null) {
            list = tags;

        } else if (tags != null) {
            list.addAll(tags);
        }

        return setTags(list);
    }
89555
public ListTagsForProjectResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
143717
public void addTag(String tagName, int[] tagValue) {
    int id = TiffTags.getTagId(tagName);
    TagValue tag = new TagValue(id, 3);
    for (int i = 0; i < tagValue.length; i++) {
      com.easyinnova.tiff.model.types.Short val = new com.easyinnova.tiff.model.types.Short(tagValue[i]);
      tag.add(val);
    }
    addTag(tag);
  }
229859
public Whitelist addTags(String... tags) {
        Validate.notNull(tags);

        for (String tagName : tags) {
            Validate.notEmpty(tagName);
            tagNames.add(TagName.valueOf(tagName));
        }
        return this;
    }
1282814
private static List<Tag<?>> addClusterNameTags(List<? extends Tag<?>> tags) {
    return ImmutableList.<Tag<?>>builder().addAll(tags).addAll(Tag.fromMap(ClusterNameTags.getClusterNameTags()))
        .build();
  }
766513
@SuppressWarnings ("unchecked")
    private void writeListTagPayload(ListTag<?> tag) throws IOException {
        Class<? extends Tag<?>> clazz = tag.getElementType();
        List<Tag<?>> tags = (List<Tag<?>>) tag.getValue();
        int size = tags.size();

        os.writeByte(TagType.getByTagClass(clazz).getId());
        os.writeInt(size);
        for (Tag<?> tag1 : tags) {
            writeTagPayload(tag1);
        }
    }
1301042
public HtmlDocumentBuilder useTags( String... tags )
    {
        this.tags.clear();
        this.tags.addAll( Arrays.asList( tags ) );
        return this;
    }
157139
public void setTags(java.util.Collection<Tag> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
661873
public void setTags(java.util.Collection<String> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<String>(tags);
    }
72438
public static void addFieldValue(List<FieldMeta> fieldValues,String fieldName,Object value){
		FieldMeta fieldMeta = new FieldMeta();
		fieldMeta.setEsFieldName(fieldName);
		fieldMeta.setValue(value);
		fieldValues.add(fieldMeta);
	}
1161483
public void setTag(String tagName, byte tagValue) {
    tagTable.put(tagName, Byte.valueOf(tagValue));
  }
1098466
public Datapoint addTag(String tagKey, String tagValue) {
        initialTags();
        tags.put(tagKey, tagValue);
        return this;
    }
1303883
public void setTagOptions(java.util.Collection<TagOptionDetail> tagOptions) {
        if (tagOptions == null) {
            this.tagOptions = null;
            return;
        }

        this.tagOptions = new java.util.ArrayList<TagOptionDetail>(tagOptions);
    }
96678
public void setValue(List<Tag> value) throws IllegalArgumentException {
        this.type = null;
        this.value.clear();

        for(Tag tag : value) {
            this.add(tag);
        }
    }
364645
public List<Element> append(String name, Collection<String> values) {
		List<Element> elements = new ArrayList<Element>(values.size());
		for (String value : values) {
			elements.add(append(name, value));
		}
		return elements;
	}
367112
public void addValues(Object name, String[] values) 
    {
        Object lo = super.get(name);
        Object ln = LazyList.addCollection(lo,Arrays.asList(values));
        if (lo!=ln)
            super.put(name,ln);
    }