private static Map<String, String> createMapFromList(final List<String> all) {
		final Map<String, String> map = new ConcurrentHashMap<>();

		for (final String documentElement : all) {
			if (documentElement != null) {
				map.put(documentElement, documentElement);
			}
		}
		return map;
	}
private static Map<String, String> createMapFromList(final List<String> all) {
		final Map<String, String> map = new ConcurrentHashMap<>();

		for (final String documentElement : all) {
			if (documentElement != null) {
				map.put(documentElement, documentElement);
			}
		}
		return map;
	}
private static Map < String , String > createMapFromList ( final List < String > all ) { final Map < String , String > map = new ConcurrentHashMap <> ( ) ; for ( final String documentElement : all ) { if ( documentElement != null ) { map . put ( documentElement , documentElement ) ; } } return map ; }
Creates the map from list.

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