Gets a list with all 1st level section names.

@return a list of section names stored in this ConfigMap.
506017
public List<String> getSectionNames() {
		List<String> sections = new ArrayList<String>();

		for (Map.Entry<String, String> entry : this.entrySet()) {
			String key = entry.getKey();
			int pos = key.indexOf('.');
			if (pos > 0)
				key = key.substring(0, pos);

			// Perform case sensitive search
			boolean found = false;
			for (String section : sections) {
				if (section.equalsIgnoreCase(key)) {
					found = true;
					break;
				}
			}

			if (!found)
				sections.add(key);
		}

		return sections;
	}
1288793
public List<Section> getAreas() {
        List<Section> areasCopy = new ArrayList<Section>(10);
        areasCopy.addAll(areas);
        return areasCopy;
    }
1254714
public String [] getNames() {
		String [] result = new String[parameters.size()];
		parameters.keySet().toArray(result);
		return result;
	}
1334548
public List<ConfigPath> findAllRootPaths() {
        return paths.stream()
                .filter(it -> !it.getPath().contains(DOT))
                .collect(Collectors.toList());
    }
624094
@XmlElementWrapper(name = "sections")
    @XmlElement(name = "s", type = S.class)
    public List<S> getSections() {
        return sections;
    }
259387
public Collection<String> getChildElementNames() {
        if (childElementNames == null) {
            childElementNames = Collections.unmodifiableList(Arrays.asList(parseChildElementNameList()));
        }
        return childElementNames;
    }
846116
public Collection<String> getNames() {
		Collection<String> names = new HashSet<String>();
		for (InitParam initParam : initParams) {
			names.add(initParam.getName());
		}
		return names;
	}
947700
public List<Entry> getTopEntries() {
        if (root != null && root.getGroups() != null && root.getGroups().size() == 1) {
            return root.getGroups().get(0).getEntries();
        }
        return new ArrayList<Entry>();
    }
878168
public List<String> getParamNames() {
    if (!Strings.contains(content, ":")) { return Collections.emptyList(); }
    final List<String> params = new ArrayList<String>();
    int index = 0;
    do {
      final int colonIndex = content.indexOf(':', index);
      if (-1 == colonIndex) {
        break;
      }
      index = colonIndex + 1;
      while (index < content.length()) {
        final char c = content.charAt(index);
        if (isValidIdentifierStarter(c)) {
          index++;
        } else {
          break;
        }
      }
      final String paramName = content.substring(colonIndex + 1, index);
      if (!params.contains(paramName)) {
        params.add(paramName);
      }
    } while (index < content.length());
    return params;
  }
627932
public static DescriptorExtensionList<SectionedViewSection, SectionedViewSectionDescriptor> all() {
        return Hudson.getInstance().<SectionedViewSection, SectionedViewSectionDescriptor>getDescriptorList(SectionedViewSection.class);
    }
220277
public String[] getFeatNames() {
        String[] namesArray = new String[nameIndexMap.size()];

        for (Map.Entry<String, Integer> entry : nameIndexMap.entrySet()) {
            namesArray[entry.getValue()] = entry.getKey();
        }

        return namesArray;
    }
1085222
public List<FacesConfigMapEntryType<FacesConfigMapEntriesType<T>>> getAllMapEntry()
   {
      List<FacesConfigMapEntryType<FacesConfigMapEntriesType<T>>> list = new ArrayList<FacesConfigMapEntryType<FacesConfigMapEntriesType<T>>>();
      List<Node> nodeList = childNode.get("map-entry");
      for(Node node: nodeList)
      {
         FacesConfigMapEntryType<FacesConfigMapEntriesType<T>>  type = new FacesConfigMapEntryTypeImpl<FacesConfigMapEntriesType<T>>(this, "map-entry", childNode, node);
         list.add(type);
      }
      return list;
   }
228108
public List<String> getNames() {
        if (this.isEmpty()) {
            return Collections.emptyList();
        } else {
            final List<String> names = new ArrayList<>(this.size());
            for (final T i : this) {
                names.add(i.getName());
            }
            return names;
        }
    }
553110
public List<Excerpt> getNestedClasses() {
    if (nestedClasses instanceof ImmutableList) {
      nestedClasses = new ArrayList<>(nestedClasses);
    }
    return Collections.unmodifiableList(nestedClasses);
  }
1153909
public List<Object> getAll() {
		List<Object> components = new ArrayList<Object>();

		synchronized (_lock) {
			for (Reference reference : _references)
				components.add(reference.getComponent());
		}

		return components;
	}
548318
public java.util.List<String> getGroupList() {
        if (groupList == null) {
            groupList = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return groupList;
    }
979303
public List<FacesConfigFacetType<FacesConfigRendererType<T>>> getAllFacet()
   {
      List<FacesConfigFacetType<FacesConfigRendererType<T>>> list = new ArrayList<FacesConfigFacetType<FacesConfigRendererType<T>>>();
      List<Node> nodeList = childNode.get("facet");
      for(Node node: nodeList)
      {
         FacesConfigFacetType<FacesConfigRendererType<T>>  type = new FacesConfigFacetTypeImpl<FacesConfigRendererType<T>>(this, "facet", childNode, node);
         list.add(type);
      }
      return list;
   }