This topic created in 2347 days ago, the information mentioned may be changed or developed.
HashMap<String,Object> other = new HashMap<>(); new ArrayList<String>().stream().map(s -> new HashMap<String, Object>() {{ }}).findFirst().orElse(other); Stream.generate(() -> new HashMap<String, Object>()).findFirst().orElse(other);