presto-main/src/main/java/io/prestosql/util/DisjointSet.java/DisjointSet/find
class DisjointSet:    public T find(T element)
    {
        if (!map.containsKey(element)) {
            map.put(element, new Entry<>());
            return element;
        }
        return findInternal(element);
    }