method to return if a number is prime or not concode_field_sep PlaceHolder placeHolder concode_field_sep boolean contains concode_elem_sep int max concode_elem_sep int index concode_elem_sep List<Integer> primesUpTo concode_elem_sep void main concode_elem_sep void allPrimes concode_elem_sep int countPrimes concode_elem_sep boolean isPrime2 concode_elem_sep int[] primesIn
boolean function ( int arg0 ) { if ( arg0 > 1 ) { int loc0 = 2 ; while ( arg0 % loc0 != 0 ) { loc0 ++ ; } return loc0 == arg0 ; } else if ( arg0 < 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } return false ; }