private Map<ContactId,ParticipantStatus> parseEncodedParticipantInfos(String participants){
  String[] encodedParticipantInfos=participants.split(PARTICIPANT_INFO_PARTICIPANT_SEPARATOR);
  Map<ContactId,ParticipantStatus> participantInfos=new HashMap<>();
  for (  String encodedParticipantInfo : encodedParticipantInfos) {
    String[] participantInfo=encodedParticipantInfo.split(PARTICIPANT_INFO_STATUS_SEPARATOR);
    ContactId participant=ContactUtil.createContactIdFromTrustedData(participantInfo[0]);
    ParticipantStatus status=ParticipantStatus.valueOf(Integer.parseInt(participantInfo[1]));
    participantInfos.put(participant,status);
  }
  return participantInfos;
}

private Map < ContactId , ParticipantStatus > parseEncodedParticipantInfos ( String participants ) { String [ ] encodedParticipantInfos = participants . split ( PARTICIPANT_INFO_PARTICIPANT_SEPARATOR ) ; Map < ContactId , ParticipantStatus > participantInfos = new HashMap < > ( ) ; for ( String encodedParticipantInfo : encodedParticipantInfos ) { String [ ] participantInfo = encodedParticipantInfo . split ( PARTICIPANT_INFO_STATUS_SEPARATOR ) ; ContactId participant = ContactUtil . createContactIdFromTrustedData ( participantInfo [ 0 ] ) ; ParticipantStatus status = ParticipantStatus . valueOf ( Integer . parseInt ( participantInfo [ 1 ] ) ) ; participantInfos . put ( participant , status ) ; } return participantInfos ; }
convert string representation of participants into participants
