My own implementation of SortMergeJoin and HashJoin (famous INNER JOIN from SQL) in Java.