indexOf method
- ImmutablePart immutablePart
Retrieves the position of the given part in the immutable part collection.
Parameters:
immutablePart— The part you want to find.
Return Value: The position of the part in the collection, -1 otherwise.
Retrieves the position of the given part in the immutable part collection.
Parameters:
immutablePart — The part you want to find.Return Value: The position of the part in the collection, -1 otherwise.