docs: public static String [] getTLDEntries(DomainValidator.ArrayType table) {
          final String[] array;
          switch(table) {
              case COUNTRY_CODE_MINUS:
                  array = countryCodeTLDsMinus;
                  break;
              case COUNTRY_CODE_PLUS:
                  array = countryCodeTLDsPlus;
                  break;
              case GENERIC_MINUS:
                  array = genericTLDsMinus;
                  break;
              case GENERIC_PLUS:
                  array = genericTLDsPlus;
                  break;
              case GENERIC_RO:
                  array = GENERIC_TLDS;
                  break;
              case COUNTRY_CODE_RO:
                  array = COUNTRY_CODE_TLDS;
                  break;
              case INFRASTRUCTURE_RO:
                  array = INFRASTRUCTURE_TLDS;
                  break;
              case LOCAL_RO:
                  array = LOCAL_TLDS;
                  break;
              default:
                  throw new IllegalArgumentException("Unexpected enum value: " + table);
          }
          return Arrays.copyOf(array, array.length); // clone the array
      }