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 .