Package org.bytedeco.javacpp
Class ClassProperties
Does the heavy lifting of collecting values off Properties annotations found
on enclosing classes. Operates for the desired "platform" value specified
in
Properties
. As a HashMap
, it makes the result
easily accessible, and mutable.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addAll
(String key, Collection<String> values) getProperty
(String key) getProperty
(String key, String defaultValue) boolean
isLoaded()
void
setProperty
(String key, String value) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
Constructor Details
-
ClassProperties
public ClassProperties() -
ClassProperties
-
-
Method Details
-
get
-
addAll
-
addAll
-
getProperty
-
getProperty
-
setProperty
-
load
-
getInheritedClasses
-
getEffectiveClasses
-
isLoaded
public boolean isLoaded()
-