Instance.PropertyArray.removeContainedConcept()

Signature

boolean removeContainedConcept (PropertyArrayContainedConcept arr, ContainedConcept instance)

Domain

ACTION, BUI

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.

Parameters

NameTypeDescription
arrPropertyArrayContainedConceptA PropertyArrayContainedConcept for the action to be performed on.
instanceContainedConceptCurrent value of the PropertyAtomContainedConcept for removal.

Returns

TypeDescription
booleanif a PropertyAtomContainedConcept is removed.

Cautions

none