intersection abstract method

RulesSet<T> intersection(
  1. RulesSet<T> other
)

Returns a set that is the intersection between the set calling intersection() and the set passed to intersection(). That is, returns a set containing the elements the sets have in common.

If the sets have no elements in common, returns an empty set (size() == 0).

Implementation

RulesSet<T> intersection(RulesSet<T> other);