Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for parents (0.26 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, {,list,spl}iterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Integer get(int index) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        private final ImmutableDoubleArray parent;
    
        private AsList(ImmutableDoubleArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Double get(int index) {
          return parent.get(index);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  5. LICENSE

          Work and such Derivative Works in Source or Object form.
    
       3. Grant of Patent License. Subject to the terms and conditions of
          this License, each Contributor hereby grants to You a perpetual,
          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top