Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. More formally, returns the lowest index i such that (o==null ? get(i)==null : o.equals(get(i))), or -1 if there is no such index.
@param o element to search for
@return the index of the first occurrence of the specified element inthis list, or -1 if this list does not contain the element
@throws ClassCastException if the type of the specified elementis incompatible with this list (optional)
@throws NullPointerException if the specified element is null and thislist does not permit null elements (optional)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.