/** * Merge the current Match fields with the fields of the filter Match. A * check is first run to see if this Match is compatible with the filter * Match. If it is not, the merge is not attempted. * * The result is the match object representing the intersection of the set * of packets described by this match with the set of packets described by * the filter match. If the intersection of the two sets is empty, the * return match will be null. * * @param filter * the match with which attempting the merge * @return a new Match object describing the set of packets represented by * the intersection of this and the filter matches. null if the * intersection is empty. */ public Match mergeWithFilter(Match filter) { return this.getIntersection(filter); }