Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasParent (0.3 sec)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       * www.google.com} is {@code google.com}.
       *
       * @throws IllegalStateException if the domain has no parent, as determined by {@link #hasParent}
       */
      public InternetDomainName parent() {
        checkState(hasParent(), "Domain '%s' has no parent", name);
        return ancestor(1);
      }
    
      /**
       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
    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