int function ( List < C > arg0 , C arg1 ) { int loc0 = arg0 . indexOf ( arg1 ) ; if ( loc0 == - 1 ) { for ( int loc1 = 0 ; loc1 < arg0 . size ( ) ; loc1 ++ ) { if ( arg1 . equalsIgnoreCase ( arg0 . get ( loc1 ) ) ) { loc0 = loc1 ; break ; } } } return loc0 ; }
returns the index of the first occurrence of the specified element in the list . if the list does not contain the given compound , the index of the first occurrence of the element according to case-insensitive equality . if no such elements exist , -1 is returned . concode_field_sep CompoundSet<C> compoundSet concode_elem_sep short min concode_elem_sep short max concode_elem_sep long serialVersionUID concode_elem_sep String comment concode_elem_sep String name concode_elem_sep String description concode_elem_sep short[][] matrix concode_elem_sep List<C> rows concode_elem_sep List<C> cols concode_field_sep void setName concode_elem_sep String getName concode_elem_sep short getMaxValue concode_elem_sep void setDescription concode_elem_sep Map<C,Short> getRow concode_elem_sep String getDescription concode_elem_sep short getValue concode_elem_sep short getMinValue concode_elem_sep short[][] getMatrix concode_elem_sep String getMatrixAsString concode_elem_sep SubstitutionMatrix<C> normalizeMatrix concode_elem_sep Map<C,Short> getColumn concode_elem_sep String toString concode_elem_sep SubstitutionMatrix<AminoAcidCompound> getBlosum62 concode_elem_sep CompoundSet<C> getCompoundSet