indexOf

indexOf(MathPortion item) method

Determines the index of a specific item in the List.

Parameters

NameTypeDescription
itemMathPortionThe object to locate in the List.

Returns

int


indexOf(Portion item) method

Determines the index of a specific item in the List.

Parameters

NameTypeDescription
itemPortionThe object to locate in the List.

Returns

int