addPart method

int addPart(
  1. MutablePart mutablePart
)

Add a new part to the end of the mutable part collection.

Parameters:

  • mutablePart — The part to add.

Return Value: the index where the part was added. If an error occurred, then -1 is returned.