Implemented JoinPredicate.java