class EffectedResources {

    public static EffectedResources of(final Set<TreeBasedPolicyEnforcer.PointerAndPermission> grantedResources,
            final Set<TreeBasedPolicyEnforcer.PointerAndPermission> revokedResources) {
        checkNotNull(grantedResources, "Granted Resources");
        checkNotNull(revokedResources, "Revoked Resources");

        return new EffectedResources(grantedResources, revokedResources);
    }

    private  EffectedResources(final Set<TreeBasedPolicyEnforcer.PointerAndPermission> grantedResources,
            final Set<TreeBasedPolicyEnforcer.PointerAndPermission> revokedResources);

}