Struct Resources
A collection of Resource instances identified by their type.
struct Resources
;
Methods
Name | Description |
---|---|
add
(resource)
|
Add a Resource to the collection. |
contains
()
|
Returns true if and only if the given Resource type can be found in the collection.
|
get
()
|
Returns the first Resource from the collection that is of the given type. |
getAll
()
|
Returns the Resources from the collection of the given type. |
hasChanged
(resource)
|
Whether the given Resource has been changed. |
remove
(resource)
|
Remove a Resource. |
replace
(resource)
|
Replace a Resource. |