Answers for "List of tuple to map + jpa"

0

List of tuple to map + jpa

public Set<Entry<String, Object>> entrySet() {
    return tuple.getElements().stream() //
        .map(e -> new HashMap.SimpleEntry<String, Object>(e.getAlias(), tuple.get(e))) //
        .collect(Collectors.toSet());
  }
}
Posted by: Guest on January-12-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language