add
Adds a new instance to the resource.
Return
Whether the instance is added successfully.
Parameters
instance
The instance to add.
Throws
IllegalStateException
If this resource is closed or invalid.
Adds a new instance to the resource.
Whether the instance is added successfully.
The instance to add.
If this resource is closed or invalid.