JavaList.LastIndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the last occurrence of an element in the Java list.
public virtual int LastIndexOf(object item);
abstract member LastIndexOf : obj -> int
override this.LastIndexOf : obj -> int
Parameters
- item
- Object
The element to find.
Returns
The index of the last matching element, or -1 if it is not found.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.