private static Map<String, String> createMapFromListVote(final List<VoteDataEmbeddedId> list) {
		final Map<String, String> map = new ConcurrentHashMap<>();

		for (final VoteDataEmbeddedId documentElement : list) {
			map.put(documentElement.getBallotId(), documentElement.getBallotId());
		}
		return map;
	}
private static Map<String, String> createMapFromListVote(final List<VoteDataEmbeddedId> list) {
		final Map<String, String> map = new ConcurrentHashMap<>();

		for (final VoteDataEmbeddedId documentElement : list) {
			map.put(documentElement.getBallotId(), documentElement.getBallotId());
		}
		return map;
	}
private static Map < String , String > createMapFromListVote ( final List < VoteDataEmbeddedId > list ) { final Map < String , String > map = new ConcurrentHashMap <> ( ) ; for ( final VoteDataEmbeddedId documentElement : list ) { map . put ( documentElement . getBallotId ( ) , documentElement . getBallotId ( ) ) ; } return map ; }
Creates the map from list vote.

@param list
the list
@return the map
Creates the map from list vote .