public class PropertyCollection extends Object implements IPropertyCollection
Constructor and Description |
---|
PropertyCollection() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all the properties.
|
Object |
get(String key)
Gets a value.
|
Map<String,Object> |
getAll()
Gets the entire string/object map.
|
void |
set(String key,
Object value)
Sets a value.
|
void |
setAll(Map<String,Object> properties)
Sets the entire string/object map.
|
public Map<String,Object> getAll()
getAll
in interface IPropertyCollection
public Object get(String key)
get
in interface IPropertyCollection
key
- stringpublic void setAll(Map<String,Object> properties)
setAll
in interface IPropertyCollection
properties
- public void set(String key, Object value)
set
in interface IPropertyCollection
key
- stringvalue
- objectpublic void clear()
clear
in interface IPropertyCollection
Copyright © 2015–2022 SciJava. All rights reserved.