ImageGear for Java
lastIndexOf Method
element to search for
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. More formally, returns the highest index i such that (o==null ? get(i)==null : o.equals(get(i))), or -1 if there is no such index.
Syntax
public int lastIndexOf( 
   java.lang.Object o
)

Parameters

o
element to search for

Return Value

the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element
Exceptions
ExceptionDescription
java.lang.ClassCastExceptionif the type of the specified element is incompatible with this list (optional)
java.lang.NullPointerExceptionif the specified element is null and this list does not permit null elements (optional)
See Also

Reference

ImGearLayerArray Class
ImGearLayerArray Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback