return a HashMap with all properties, name as key, value as value
@return the properties
773974
public HashMap<String, String> getProperties() {
        if (this.properties == null) {
            this.properties = new HashMap<String, String>();
        }
        return properties;
    }
415168
private Map<String,Object> getMap()
    {
        if (m_data == null)
            m_data = new HashMap<String,Object>();
        return (Map<String, Object>)m_data;
    }
1157958
@Override
	public Map<String, String> toProperties() {
		DescriptorProperties properties = new DescriptorProperties();
		List<Map<String, String>> subKeyValues = new ArrayList<>();
		for (Map.Entry<String, LinkedHashMap<String, String>> entry : tableSchema.entrySet()) {
			String name = entry.getKey();
			LinkedHashMap<String, String> props = entry.getValue();
			Map<String, String> map = new HashMap<>();
			map.put(SCHEMA_NAME, name);
			map.putAll(props);
			subKeyValues.add(map);
		}
		properties.putIndexedVariableProperties(
			SCHEMA,
			subKeyValues);
		return properties.asMap();
	}
361639
@Override
	public Map<String, Object> readKeyValues() {
		Map<String, Object> result = new HashMap<String, Object>();
		readKeyValues(result);
		return result;
	}
151592
@java.lang.Deprecated
  public java.util.Map<java.lang.String, java.lang.String> getProperties() {
    return getPropertiesMap();
  }
624695
public Map<Object, Object> getPropertyBag() {
        if (this.properties == null) {
            this.properties = new HashMap<Object, Object>();
        }
        return this.properties;
    }
476932
public Set<Property> allProperties() {
        Set<Property> properties = new HashSet<Property>();
        for (Node n : nodes) {
            n.includeProperties(properties);
        }
        return Collections.unmodifiableSet(properties);
    }
1073467
protected Map<PropertyKey, Object> properties() {

        if (properties == null) {
            properties = new EnumMap<>(PropertyKey.class);
        }

        return properties;
    }
348728
public HashMappedList getAsMap() {

        HashMappedList map = new HashMappedList();

        while (true) {
            HsqlArrayList list = getSection();

            if (list.size() < 1) {
                break;
            }

            String key   = (String) list.get(0);
            String value = LineGroupReader.convertToString(list, 1);

            map.put(key, value);
        }

        return map;
    }
321405
static public Map<String,Object> propertiesToMap(Properties properties)
    {
        Map<String,Object> map = null;
        if (properties != null)
        {
	        map = new Hashtable<String,Object>();
	        for (Object key : properties.keySet())
	        {
                map.put((String)key, properties.get(key));	            
	        }
        }
        return map;
    }
148921
@Override
    public final Map<String, String[]> getProperties() {
        final MultivaluedMapPopulator<String, String> populator =
                new MultivaluedMapPopulator<String, String>();
        this.requestPropertiesManager.populateRequestProperties(
                this.servletRequest, portletWindow, populator);
        final Map<String, List<String>> map = populator.getMap();
        return ParameterMap.convertListMap(map);
    }
207617
@Override
    public Map<String, Object> getValuesMap() throws AtlasException {
        Map<String, Object> m = new HashMap<>();
        for (String attr : fieldMapping.fields.keySet()) {
//            int pos = fieldMapping.fieldNullPos.get(attr);
//            if (  explicitSets[pos] ) {
                m.put(attr, get(attr));
//            }
        }
        return m;
    }
141348
def to_hash
      out = {}
      self.class.properties.each { |p| out[hash_key(p)] = hash_value(p) }
      out
    end
43202
protected Map<String, CmsProperty> getPropertiesByName(List<CmsProperty> properties) {

        Map<String, CmsProperty> result = new HashMap<String, CmsProperty>();
        for (CmsProperty property : properties) {
            String key = property.getName();
            result.put(key, property.clone());
        }
        return result;
    }
674174
@Override
	public final Map<String, String> toProperties() {
		final DescriptorProperties properties = new DescriptorProperties();
		properties.putProperties(internalProperties);

		properties.putInt(STATISTICS_PROPERTY_VERSION, 1);

		List<Map<String, String>> namedStats = new ArrayList<>();
		for (Map.Entry<String, Map<String, String>> entry : columnStats.entrySet()) {
			Map<String, String> columnStat = entry.getValue();
			columnStat.put(NAME, entry.getKey());
			namedStats.add(columnStat);
		}

		properties.putIndexedVariableProperties(STATISTICS_COLUMNS, namedStats);
		return properties.asMap();
	}
285439
def properties
      convert_map_to_hash(@device.getProperties) do |hash, key, value|
        hash[key.toString] = value.toString
      end
    end
385371
public Collection<String> getAllProperties() {
		return wrappedSubmit(new Callable<Collection<String>>() {
			@Override
			public Collection<String> call() throws Exception {
				Collection<String> allProperties = new HashSet<String>();
				ObjectMapper mapper = new ObjectMapper();
				List<XmlProperty> xmlproperties = new ArrayList<XmlProperty>();
				try {xmlproperties = mapper.readValue(
										service.path(resourceProperties)
										.accept(MediaType.APPLICATION_JSON)
										.get(String.class)	
									,new TypeReference<List<XmlProperty>>(){});
				} catch (JsonParseException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (JsonMappingException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (ClientHandlerException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				for (XmlProperty xmlproperty : xmlproperties) {
					allProperties.add(xmlproperty.getName());
				}
				return allProperties;
			}
		});
	}