| Performs intersection on the input collection of policies and returns the resulting (intersected) policy. If input policy
collection contains only a single policy instance, no intersection is performed and the instance is directly returned
as a method call result.
Parameters: policies - collection of policies to be intersected. Must not be null nor empty, otherwise exception is thrown. intersected policy as a result of perfromed policy intersection. A null value is never returned. throws: IllegalArgumentException - in case policies argument is either null or empty collection. |