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; }
public boolean hasProperty(PropertyID key) { return properties.containsKey(key.getName()); }
public Object removeProperty(PropertyID key) { return properties.remove(key.getName()); }
public Object getProperty(PropertyID key) { return properties.get(key.getName()); }
public void addProperty(PropertyID key, Object value) { properties.put(key.getName(), value); }