Obtains all the tags assigned to this area and its child areas (not all descendant areas).
@return a set of tags
841
protected Set<Tag> getAllTags(Area area)
    {
        Set<Tag> ret = new HashSet<Tag>(area.getTags().keySet());
        for (int i = 0; i < area.getChildCount(); i++)
            ret.addAll(area.getChildAt(i).getTags().keySet());
        return ret;
    }
104403
public java.util.List<String> getTagKeys() {
        if (tagKeys == null) {
            tagKeys = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return tagKeys;
    }
1300457
public Set<Tag> getAncestorTags(Tag tag)
    {
        Set<Tag> ancestors = new HashSet<>();
        getAncestorTags(tag, ancestors);
        return ancestors;
    }
1196846
public java.util.List<ResourceTag> getResourceTags() {
        if (resourceTags == null) {
            resourceTags = new com.amazonaws.internal.SdkInternalList<ResourceTag>();
        }
        return resourceTags;
    }
800015
function getNodes(tags, context) {
  var keys = objectKeys(tags);
  var returns = [];

  // keys to uppercase to compare to nodeName
  for(var i=0; i<keys.length; i++) keys[i]=keys[i].toUpperCase();

  // if context is tag
  if(keys.indexOf(context.nodeName.toUpperCase()) >= 0) {
    return [context];
  };

  //Mount all top-level child tags within context
  var nodes, el, mount, n;
  for(var i=0; i<keys.length; i++) {
    nodes = context.getElementsByTagName(keys[i]);
    for(n=0; n<nodes.length; n++) {
      el = nodes[n];
      mount = true;
      while(el = el.parentNode) {
        if(keys.indexOf(el.nodeName.toUpperCase()) >= 0) {
          mount = false;
          break;
        }
        if(el === context) break;
      }
      if(mount) returns.push(nodes[n]);
    }
  }  
  return returns;
}
624094
@XmlElementWrapper(name = "sections")
    @XmlElement(name = "s", type = S.class)
    public List<S> getSections() {
        return sections;
    }
351374
def tags(self):
        
        tags = set()
        for i in self:
            tags |= set(i.keys())
        return tags
1247984
public Collection<Xml> getChildren()
    {
        final Collection<Xml> nodes = new ArrayList<>(1);
        final NodeList list = root.getChildNodes();
        for (int i = 0; i < list.getLength(); i++)
        {
            final Node node = list.item(i);
            if (node instanceof Element)
            {
                nodes.add(new Xml(document, (Element) node));
            }
        }
        return nodes;
    }
548043
public String[] tags(TagSet tagSet)
    {
        assert tagArray != null;

        String[] tags = new String[tagArray.length];
        for (int i = 0; i < tags.length; i++)
        {
            tags[i] = tagSet.stringOf(tagArray[i]);
        }

        return tags;
    }
1119965
public String[] getTags() {
		for (int i = 0; i < length; i++)
			localeStrings[i] = locales[i].getDisplayName();

		return localeStrings;
	}
716318
public java.util.List<Tag> getTagsList() {
        if (tagsList == null) {
            tagsList = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return tagsList;
    }
528532
public java.util.List<String> getTagsToDelete() {
        if (tagsToDelete == null) {
            tagsToDelete = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return tagsToDelete;
    }
757352
public List<Tag> getInstanceTags() {
    final DescribeInstancesResult response = ec2
        .describeInstances(new DescribeInstancesRequest()
            .withInstanceIds(Collections.singletonList(instanceIdentity.instanceId)));

    return response.getReservations().stream()
        .flatMap(reservation -> reservation.getInstances().stream())
        .flatMap(instance -> instance.getTags().stream())
        .collect(Collectors.toList());

  }
1363798
public java.util.List<Tag> getTagsToAdd() {
        if (tagsToAdd == null) {
            tagsToAdd = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return tagsToAdd;
    }
1139622
public List<TldExtensionType<TldTaglibType<T>>> getAllTaglibExtension()
   {
      List<TldExtensionType<TldTaglibType<T>>> list = new ArrayList<TldExtensionType<TldTaglibType<T>>>();
      List<Node> nodeList = childNode.get("taglib-extension");
      for(Node node: nodeList)
      {
         TldExtensionType<TldTaglibType<T>>  type = new TldExtensionTypeImpl<TldTaglibType<T>>(this, "taglib-extension", childNode, node);
         list.add(type);
      }
      return list;
   }
309893
public java.util.List<String> getTagKeys() {
        if (tagKeys == null) {
            tagKeys = new com.ibm.cloud.objectstorage.internal.SdkInternalList<String>();
        }
        return tagKeys;
    }
319812
public Set<Label> getLabels() {
        Set<Label> r = new TreeSet<>();
        for (Label l : labels.values()) {
            if(!l.isEmpty())
                r.add(l);
        }
        return r;
    }