int function ( int arg0 , SingleVote . Type arg1 ) { int loc0 = - 1 ; if ( arg1 == SingleVote . Type . DA ) { loc0 = 1 ; } else if ( arg1 == SingleVote . Type . NU ) { loc0 = 2 ; } else if ( arg1 == SingleVote . Type . AB ) { loc0 = 3 ; } else if ( arg1 == SingleVote . Type . MI ) { loc0 = 4 ; } return arg0 * 10 + loc0 ; }
returns a hash key that we will use to store party votes . concode_field_sep HashMap<Integer,Integer> partyVotes concode_elem_sep int idLaw concode_elem_sep String subject concode_elem_sep String link concode_elem_sep Logger log concode_elem_sep HashSet<SingleVote> votes concode_elem_sep long time concode_elem_sep String type concode_elem_sep int[] votesAgg concode_elem_sep boolean error concode_elem_sep String uniqueId concode_field_sep SingleVote.Type getPartyVote concode_elem_sep void addSingleVote concode_elem_sep int size concode_elem_sep int getNumVotesForParty