public class IntProperties extends Properties
defaults| Constructor and Description |
|---|
IntProperties(int def)
Creates an empty property list with a default value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntProperty(String key)
Returns the integer value of the property with the specified key in this
property list.
|
Collection<Integer> |
intPropertyValues()
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic IntProperties(int def)
def - the default property value.public int getIntProperty(String key)
String value is converted to an
integer using Integer.parseInt(String).key - the property key.public Collection<Integer> intPropertyValues()
IntProperties.Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.