public static < ELEMENTTYPE > int getFirstIndex ( @ Nullable final ELEMENTTYPE [ ] aValues , @ Nullable final ELEMENTTYPE aSearchValue ) { final int nLength = getSize ( aValues ) ; if ( nLength > 0 ) for ( int nIndex = 0 ; nIndex < nLength ; ++ nIndex ) if ( EqualsHelper . equals ( aValues [ nIndex ] , aSearchValue ) ) return nIndex ; return CGlobal . ILLEGAL_UINT ; }
Get the index of the passed search value in the passed value array .