Builds a Properties.

@return a Properties
170318
public Properties build() {
        Properties buildProperties = new Properties();
        merge(_defaultProperties, buildProperties);
        merge(_modelProperties, buildProperties);
        merge(_overrideProperties, buildProperties);
        return buildProperties;
    }
885349
@Override
    public Properties getAllProperties() {
        Properties props = new Properties();
        for (String name : cachedValues.keySet()) {
            props.put(name, String.valueOf(cachedValues.get(name)));
        }
        return props;
    }
1297438
public Map<String, Object> build() {
        final ImmutableMap.Builder<String, Object> builder = ImmutableMap.builder();
        final int keyCode = ofNullable(this.keyCode)
                .orElseThrow(() -> new IllegalStateException("The key code must be set"));
        builder.put("keycode", keyCode);
        ofNullable(this.metaState).ifPresent(x -> builder.put("metastate", x));
        ofNullable(this.flags).ifPresent(x -> builder.put("flags", x));
        return builder.build();
    }
480051
public JSType build() {
    if (result == null) {
      result = reduceAlternatesWithoutUnion();
      if (result == null) {
        result = new UnionType(registry, ImmutableList.copyOf(getAlternates()));
      }
    }
    return result;
  }
1078984
public Map<String, Object> getProperties() {
        Map<String, Object> localProps = myProps;
        if (localProps == null) {
            localProps = new HashMap<String, Object>();
            if (config != null && !config.isEmpty()) {
                for (Map.Entry<String, Object> entry : config.entrySet()) {
                    if (entry.getValue() instanceof String) {
                        localProps.put(entry.getKey(), entry.getValue());
                        continue;
                    }
                    if (entry.getValue() instanceof Boolean) {
                        Boolean boolVal = (Boolean) entry.getValue();
                        localProps.put(entry.getKey(), boolVal.toString());
                        continue;
                    }
                    if (entry.getValue() instanceof Integer) {
                        Integer IntVal = (Integer) entry.getValue();
                        localProps.put(entry.getKey(), IntVal.toString());
                        continue;
                    }
                }
            }
            myProps = localProps;
        }
        return localProps;
    }
707063
public Property<Properties<T>> getOrCreateProperty()
   {
      List<Node> nodeList = childNode.get("property");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new PropertyImpl<Properties<T>>(this, "property", childNode, nodeList.get(0));
      }
      return createProperty();
   }
309549
public List<Properties<PartitionPlan<T>>> getAllProperties()
   {
      List<Properties<PartitionPlan<T>>> list = new ArrayList<Properties<PartitionPlan<T>>>();
      List<Node> nodeList = childNode.get("properties");
      for(Node node: nodeList)
      {
         Properties<PartitionPlan<T>>  type = new PropertiesImpl<PartitionPlan<T>>(this, "properties", childNode, node);
         list.add(type);
      }
      return list;
   }
611610
public ArrayList getProperties(){
		ArrayList properties = new ArrayList();
		if (configEntry.properties != null){
			Iterator it = configEntry.properties.values().iterator();
			while (it.hasNext()){
				Property property = new Property((com.ibm.ws.cache.config.Property)it.next());
				properties.add(property);
			}
		}
		return properties;
	}
1159917
private function properties(): Properties
    {
        static $properties = null;
        if (null === $properties) {
            $properties = new Properties();
            foreach ($this->resourceLoader->availableResourceUris('input/error/message.ini') as $resourceUri) {
                $properties = $properties->merge(Properties::fromFile($resourceUri));
            }
        }

        return $properties;
    }
420690
public Properties<PartitionPlan<T>> getOrCreateProperties()
   {
      List<Node> nodeList = childNode.get("properties");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new PropertiesImpl<PartitionPlan<T>>(this, "properties", childNode, nodeList.get(0));
      }
      return createProperties();
   }
54190
public Parameter<T> build() {
    if (this.name == null) {
      throw new IllegalArgumentException("Name is missing.");
    }
    if (this.type == null) {
      throw new IllegalArgumentException("Type is missing.");
    }
    return new Parameter<T>(
        this.name,
        this.type,
        this.applicationId,
        this.defaultOsgiConfigProperty,
        this.defaultValue,
        new ValueMapDecorator(ImmutableMap.<String, Object>copyOf(this.properties)));
  }
1177454
public Property build() {
        if (null == type) {
            throw new IllegalStateException("type is required");
        }
        if (null == name) {
            throw new IllegalStateException("name is required");
        }
        return PropertyUtil.forType(
                type,
                name,
                title,
                description,
                required,
                value,
                values,
                labels,
                validator,
                scope,
                renderingOptions,
                dynamicValues
        );
    }
906148
private Properties createProperties() {
    propertiesBuilder
      .setProject(project)
      .setSession(session);

    customizeProperties(propertiesBuilder);

    // convert to Properties for better compatibility, groovy doesn't care about types so its not a big deal
    Properties props = new Properties();
    props.putAll(propertiesBuilder.build());
    return props;
  }
1040401
public String[] getPropertyList() {
        String[] array = new String[size()];
        for (int i=0 ; i<size(); i++)
            array[i] = get(i).name;
        return array;
    }
1301805
@Override
    public Map<String, Object> getProperties() {
        JsonObject json = null;
        JsonObject tmp;

        tmp = config.getJsonObject(CONFIG_PROPERTIES);
        if (tmp != null) {
            json = tmp;
        }

        tmp = config.getJsonObject(CONFIG_RESOURCE_CONFIG);
        if (tmp != null) {
            if (json == null) {
                json = tmp;
            } else {
                json.mergeIn(tmp);
            }
        }

        return json == null ? null : json.getMap();
    }
1096557
public List<Property<Properties<T>>> getAllProperty()
   {
      List<Property<Properties<T>>> list = new ArrayList<Property<Properties<T>>>();
      List<Node> nodeList = childNode.get("property");
      for(Node node: nodeList)
      {
         Property<Properties<T>>  type = new PropertyImpl<Properties<T>>(this, "property", childNode, node);
         list.add(type);
      }
      return list;
   }
98131
@Override
	public Set<PropertyType> canCreate() {

		final Set<PropertyType> properties = new LinkedHashSet<>();

		properties.add(PropertyType.BOOLEAN);
		properties.add(PropertyType.DATETIME);
		properties.add(PropertyType.DECIMAL);
		properties.add(PropertyType.HTML);
		properties.add(PropertyType.ID);
		properties.add(PropertyType.INTEGER);
		properties.add(PropertyType.STRING);
		properties.add(PropertyType.URI);

		return properties;
	}