*/
private static AuthorityFactory create(final boolean automatic, int interfaceMask,
final Iterator<? extends AuthorityFactory> factories)
throws FactoryNotFoundException
{
AuthorityFactory primary = factories.next();
if (factories.hasNext()) {
AuthorityFactory fallback = create(true, interfaceMask, factories);
while (fallback != primary) { // Paranoiac check
if (!sameAuthorityCodes(fallback, primary)) {
/*
* (Note: argument order is significant in the above method call)
* Creates a "primary - fallback" chain only if the fallback is not