Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for parents (3.78 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        File parent = file.getParentFile();
        File grandparent = parent.getParentFile();
        assertFalse(grandparent.exists());
        Files.createParentDirs(file);
        assertTrue(parent.exists());
      }
    
      public void testCreateParentDirs_nonDirectoryParentExists() throws IOException {
        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  4. android/guava-bom/pom.xml

      <artifactId>guava-bom</artifactId>
      <version>HEAD-android-SNAPSHOT</version>
      <packaging>pom</packaging>
      
      <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>9</version>
        <relativePath></relativePath>
      </parent>
    
      <name>Guava BOM</name>
      <description>BOM for Guava artifacts</description>
      <url>https://github.com/google/guava</url>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Dec 10 15:48:57 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  5. futures/failureaccess/pom.xml

      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>26.0-android</version>
      </parent>
      <artifactId>failureaccess</artifactId>
      <version>1.0.2</version>
      <packaging>bundle</packaging>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 17 02:24:23 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
            return clazz;
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
            Class<?> clazz = findClass(name);
            if (resolve) {
              resolveClass(clazz);
            }
            return clazz;
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top