Java: GroupReduce/Filter/Cross