@@ -70,130 +70,122 @@ * @brief Sets the specified path to the specified string. * * @param string The string to set * @param path The path to store the string at */ -- (void)setString: (OFString *)string - forPath: (OFString *)path; +- (void)setString: (OFString *)string forPath: (OFString *)path; /** - * @brief Sets the specified path to the specified integer. + * @brief Sets the specified path to the specified long long. * - * @param integer The integer to set - * @param path The path to store the integer at + * @param longLong The long long to set + * @param path The path to store the long long at */ -- (void)setInteger: (long long)integer - forPath: (OFString *)path; +- (void)setLongLong: (long long)longLong forPath: (OFString *)path; /** * @brief Sets the specified path to the specified bool. * * @param bool_ The bool to set * @param path The path to store the bool at */ -- (void)setBool: (bool)bool_ - forPath: (OFString *)path; +- (void)setBool: (bool)bool_ forPath: (OFString *)path; /** * @brief Sets the specified path to the specified float. * * @param float_ The float to set * @param path The path to store the float at */ -- (void)setFloat: (float)float_ - forPath: (OFString *)path; +- (void)setFloat: (float)float_ forPath: (OFString *)path; /** * @brief Sets the specified path to the specified double. * * @param double_ The double to set * @param path The path to store the double at */ -- (void)setDouble: (double)double_ - forPath: (OFString *)path; +- (void)setDouble: (double)double_ forPath: (OFString *)path; /** * @brief Sets the specified path to the specified array of strings. * * @param array The array of strings to set - * @param path The path to store the array of strings at + * @param path The path to store the array of string at */ -- (void)setArray: (OFArray OF_GENERIC(OFString *) *)array - forPath: (OFString *)path; +- (void)setStringArray: (OFArray OF_GENERIC(OFString *) *)array + forPath: (OFString *)path; /** * @brief Returns the string for the specified path, or `nil` if the path does * not exist. * - * @param path The path for which the string value should be returned - * @return The string value of the specified path + * @param path The path for which the string should be returned + * @return The string of the specified path */ - (nullable OFString *)stringForPath: (OFString *)path; /** * @brief Returns the string for the specified path, or the default value if * the path does not exist. * - * @param path The path for which the string value should be returned + * @param path The path for which the string should be returned * @param defaultValue The default value to return if the path does not exist - * @return The string value of the specified path + * @return The string of the specified path */ - (nullable OFString *)stringForPath: (OFString *)path defaultValue: (nullable OFString *)defaultValue; /** - * @brief Returns the integer for the specified path, or the default value if + * @brief Returns the long long for the specified path, or the default value if * the path does not exist. * - * @param path The path for which the integer value should be returned + * @param path The path for which the long long should be returned * @param defaultValue The default value to return if the path does not exist - * @return The integer value of the specified path + * @return The long long of the specified path */ -- (long long)integerForPath: (OFString *)path - defaultValue: (long long)defaultValue; +- (long long)longLongForPath: (OFString *)path + defaultValue: (long long)defaultValue; /** * @brief Returns the bool for the specified path, or the default value if the * path does not exist. * - * @param path The path for which the bool value should be returned + * @param path The path for which the bool should be returned * @param defaultValue The default value to return if the path does not exist - * @return The bool value of the specified path + * @return The bool of the specified path */ -- (bool)boolForPath: (OFString *)path - defaultValue: (bool)defaultValue; +- (bool)boolForPath: (OFString *)path defaultValue: (bool)defaultValue; /** * @brief Returns the float for the specified path, or the default value if the * path does not exist. * - * @param path The path for which the float value should be returned + * @param path The path for which the float should be returned * @param defaultValue The default value to return if the path does not exist - * @return The float value of the specified path + * @return The float of the specified path */ -- (float)floatForPath: (OFString *)path - defaultValue: (float)defaultValue; +- (float)floatForPath: (OFString *)path defaultValue: (float)defaultValue; /** * @brief Returns the double for the specified path, or the default value if * the path does not exist. * - * @param path The path for which the double value should be returned + * @param path The path for which the double should be returned * @param defaultValue The default value to return if the path does not exist - * @return The double value of the specified path + * @return The double of the specified path */ -- (double)doubleForPath: (OFString *)path - defaultValue: (double)defaultValue; +- (double)doubleForPath: (OFString *)path defaultValue: (double)defaultValue; /** * @brief Returns the array of strings for the specified path, or an empty * array if the path does not exist. * * @param path The path for which the array of strings should be returned - * @return The array of strings of the specified path + * @return The array of string values of the specified path */ -- (OFArray OF_GENERIC(OFString *) *)arrayForPath: (OFString *)path; +- (OFArray OF_GENERIC(OFString *) *)stringArrayForPath: (OFString *)path; /** * @brief Removes the value for the specified path. * * @param path The path for which the value should be removed