Пример #1
0
 public LinkedList<Object> getPropertyValues(Iterable<PropertyID> keys) {
   LinkedList<Object> values = new LinkedList<Object>();
   for (PropertyID key : keys) {
     values.add(properties.get(key.getName()));
   }
   return values;
 }
Пример #2
0
 public boolean hasProperty(PropertyID key) {
   return properties.containsKey(key.getName());
 }
Пример #3
0
 public Object removeProperty(PropertyID key) {
   return properties.remove(key.getName());
 }
Пример #4
0
 public Object getProperty(PropertyID key) {
   return properties.get(key.getName());
 }
Пример #5
0
 public void addProperty(PropertyID key, Object value) {
   properties.put(key.getName(), value);
 }