tests whether the provided string is a flag , i.e. whether the string is non-null , starts with a '' - '' dash , and has at least one character following the dash . concode_field_sep HashMap<String,String> argumentMap concode_field_sep String getValue concode_elem_sep boolean isValue concode_elem_sep boolean hasFlag concode_elem_sep void parseArgs concode_elem_sep int numFlags concode_elem_sep boolean hasValue
boolean function ( String arg0 ) { if ( arg0 != null ) { if ( arg0 . startsWith ( "srini_string" ) && arg0 . length ( ) > 1 ) { return true ; } else return false ; } return false ; }