Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for topDomainUnderRegistrySuffix (0.15 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top