Instance.PropertyArray.removeContainedConcept()
Signature
boolean removeContainedConcept (PropertyArrayContainedConcept arr, ContainedConcept instance)
Description
This method removes the first occurrence of PropertyAtomContainedConcept for which the current value
is set to instance from a PropertyArrayContainedConcept. It returns true and shifts all the
subsequent array elements PropertyAtomContainedConcept to the left (substracts one to their indices)
if the PropertyAtomContainedConcept is found, false otherwise. Also, the concept instance is deleted from cache
at the end of RTC with cache only mode.
Parameters
| Name | Type | Description |
arr | PropertyArrayContainedConcept | A PropertyArrayContainedConcept for the action to be performed on. |
instance | ContainedConcept | Current value of the PropertyAtomContainedConcept for removal. |
Returns
| Type | Description |
boolean | if a PropertyAtomContainedConcept is removed. |