Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Parent (0.2 sec)

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

        assertEquals("com", InternetDomainName.from("google.com").parent().toString());
        assertEquals("uk", InternetDomainName.from("co.uk").parent().toString());
        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava/pom.xml

      <!-- do_not_remove: published-with-gradle-metadata -->
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>HEAD-jre-SNAPSHOT</version>
      </parent>
      <artifactId>guava</artifactId>
      <packaging>bundle</packaging>
      <name>Guava: Google Core Libraries for Java</name>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("com", InternetDomainName.from("google.com").parent().toString());
        assertEquals("uk", InternetDomainName.from("co.uk").parent().toString());
        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path file = root().resolve("parent/nonexistent.file");
        Path parent = file.getParent();
        assertFalse(Files.exists(parent));
        assertThrows(IOException.class, () -> MoreFiles.createParentDirectories(file));
      }
    
      public void testCreateParentDirectories_nonDirectoryParentExists() throws IOException {
        Path parent = createTempFile();
        assertTrue(Files.isRegularFile(parent));
        Path file = parent.resolve("foo");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .inOrder();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/pom.xml

      <!-- do_not_remove: published-with-gradle-metadata -->
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>HEAD-android-SNAPSHOT</version>
      </parent>
      <artifactId>guava</artifactId>
      <packaging>bundle</packaging>
      <name>Guava: Google Core Libraries for Java</name>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          // Bubble up max levels.
          E parent;
          // If toTrickle is moved up to a parent of removeIndex, the parent is
          // placed in removeIndex position. We must return that to the iterator so
          // that it knows to skip it.
          if (crossOver < removeIndex) {
            // We crossed over to the parent level in crossOver, so the parent
            // has already been moved.
            parent = elementData(removeIndex);
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

     *
     * <ul>
     *   <li><a target="_parent"
     *       href="http://en.wikipedia.org/wiki/Bogon_filtering">http://en.wikipedia.
     *       org/wiki/Bogon_filtering</a>
     *   <li><a target="_parent"
     *       href="http://www.cymru.com/Bogons/ipv6.txt">http://www.cymru.com/Bogons/ ipv6.txt</a>
     *   <li><a target="_parent" href="http://www.cymru.com/Bogons/v6bogon.html">http://www.cymru.com/
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
       * this operation fails it may have succeeded in creating some (but not all) of the necessary
       * parent directories.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
       *     directories of the specified file could not be created.
       * @since 4.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * current domain with the leftmost part removed. For example, the parent of {@code
       * 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);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top