int getIndexOf ( final V value ) { Validate . notNull ( value , "Value required" ) ; Validate . validState ( getSize ( ) > 0 , "No data" ) ; return getData ( ) . indexOf ( value ) ; }
Returns the index of the first occurrence of the specified value in this controller or - 1 if this controller does not contain the value .