Package deepnetts.util
Class TypedProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
Provides methods for getting typed properties for the given key.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBoolean
(String key) Get specified property as boolean.double
Get specified property as double .Double[]
getDoubleArray
(String key) float
Get specified property as float.Float[]
getFloatArray
(String key) int
Get specified property as int.int[]
getIntArray
(String key) Get specified property as String .Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Constructor Details
-
TypedProperties
-
-
Method Details
-
getInt
-
getIntArray
-
getFloat
Get specified property as float.- Parameters:
key
- name of the property- Returns:
-
getFloatArray
-
getDouble
Get specified property as double .- Parameters:
key
- name of the property- Returns:
-
getDoubleArray
-
getBoolean
Get specified property as boolean. .- Parameters:
key
- name of the property- Returns:
-
getString
-