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()); } }