parent generaliz element parent parent wai hierarchi param ge generaliz element parent gener collect generaliz element parent generaliz element ge collect generaliz element result hash set generaliz element parent result ge result 