Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for topDomainUnderRegistrySuffix (0.09 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertTrue(domain.hasRegistrySuffix());
        assertEquals("essex.sch.uk", domain.registrySuffix().toString());
        assertEquals("www.essex.sch.uk", domain.topDomainUnderRegistrySuffix().toString());
      }
    
      public void testEquality() {
        new EqualsTester()
            .addEqualityGroup(idn("google.com"), idn("google.com"), idn("GOOGLE.COM"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @throws IllegalStateException if this domain does not end with a registry suffix
       * @since 23.3
       */
      public InternetDomainName topDomainUnderRegistrySuffix() {
        if (isTopDomainUnderRegistrySuffix()) {
          return this;
        }
        checkState(isUnderRegistrySuffix(), "Not under a registry suffix: %s", name);
        return ancestor(registrySuffixIndex() - 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
Back to top