public List<Entry> getEnv() {
        return envVars.entrySet().stream().map(Entry::new).collect(Collectors.toList());
    }
public List < Entry > getEnv ( ) { return envVars . entrySet ( ) . stream ( ) . map ( Entry :: new ) . collect ( Collectors . toList ( ) ) ; }
@return environment variables using same data type as constructor parameter.
@since 2.136