check if the menu element in input is already presents into the list concode_field_sep String LAYOUT_ALL_LEFT concode_elem_sep String LAYOUT_ADMIN_MENU concode_elem_sep String LAYOUT_TOP_LEFT concode_elem_sep String DEFAULT_EXTRA concode_elem_sep Logger logger concode_elem_sep String MENU_EXTRA concode_elem_sep String MODULE_PAGE concode_elem_sep String MENU_MODE concode_elem_sep String LAYOUT_ALL_TOP concode_elem_sep String DEFAULT_LAYOUT_MODE concode_elem_sep String LIST_MENU concode_field_sep String getMenuPath concode_elem_sep boolean isAbleToSeeItem concode_elem_sep boolean isAbleToSeeContainedItems concode_elem_sep List filterListForUser concode_elem_sep void mergeMenuItems concode_elem_sep void getMenuItems concode_elem_sep List getMenuItems concode_elem_sep Menu getAdminItemRec
int function ( List arg0 , Menu arg1 ) { if ( arg0 == null ) return - 1 ; for ( int loc0 = 0 ; loc0 < arg0 . size ( ) ; loc0 ++ ) { Menu loc1 = ( Menu ) arg0 . get ( loc0 ) ; if ( loc1 . getMenuId ( ) . intValue ( ) == arg1 . getMenuId ( ) . intValue ( ) ) { return loc0 ; } } return - 1 ; }