mCache.put(key, lockedAttrs.get(key));
}
}
+
+ public RcsResourceAttributes(RcsResourceAttributes attrs){
+ for (final String key : attrs.keySet()) {
+ mCache.put(key, attrs.get(key));
+ }
+ }
/**
* Returns a unmodifiable Set view of the keys contained in this attributes.
esnureAllExtracted();
return mCache.hashCode();
}
+
+ /**
+ * Updates all properties provided as parameter.
+ */
+ public void put(RcsResourceAttributes attrs){
+ for (final String key : attrs.keySet()) {
+ mCache.put(key, attrs.get(key));
+ }
+ }
}