returns the position of the cloudlet with that id , if it exists . otherwise -1 . concode_field_sep PlaceHolder placeHolder concode_field_sep T getById concode_elem_sep void sort
int function ( List < T > arg0 , int arg1 ) { int loc0 = 0 ; for ( T loc1 : arg0 ) { if ( loc1 . getCloudletId ( ) == arg1 ) { return loc0 ; } loc0 ++ ; } return - 1 ; }