Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Parts (0.17 sec)

  1. guava/src/com/google/common/base/Joiner.java

            checkNotNull(appendable, "appendable");
            checkNotNull(parts, "parts");
            while (parts.hasNext()) {
              Object part = parts.next();
              if (part != null) {
                appendable.append(Joiner.this.toString(part));
                break;
              }
            }
            while (parts.hasNext()) {
              Object part = parts.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

          return specialCases.get(constantName);
        }
        List<String> parts = Lists.newArrayList();
        for (String part : SPLITTER.split(constantName)) {
          if (!uppercaseAcronyms.contains(part)) {
            part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
          }
          parts.add(part);
        }
        return JOINER.join(parts);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

       */
      private InternetDomainName(String name, ImmutableList<String> parts) {
        checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts.");
        this.name = name;
        this.parts = parts;
      }
    
      /**
       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

            checkNotNull(appendable, "appendable");
            checkNotNull(parts, "parts");
            while (parts.hasNext()) {
              Object part = parts.next();
              if (part != null) {
                appendable.append(Joiner.this.toString(part));
                break;
              }
            }
            while (parts.hasNext()) {
              Object part = parts.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InternetDomainName.java

       */
      private InternetDomainName(String name, ImmutableList<String> parts) {
        checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts.");
        this.name = name;
        this.parts = parts;
      }
    
      /**
       * The index in the {@link #parts()} list at which the public suffix begins. For example, for the
       * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

                "+1.+2.+3.4",
                "1.2.3.4e0",
                "6:5:4:3:2:1:0", // too few parts
                "::7:6:5:4:3:2:1:0", // too many parts
                "7:6:5:4:3:2:1:0::", // too many parts
                "9:8:7:6:5:4:3::2:1", // too many parts
                "0:1:2:3::4:5:6:7", // :: must remove at least one 0.
                "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8)
                "3ffe::10000", // hextet exceeds 16 bits
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/JoinerTest.java

            }
          };
    
      private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) {
        assertEquals(expected, joiner.join(parts));
        assertEquals(expected, joiner.join(parts.iterator()));
    
        StringBuilder sb1FromIterable = new StringBuilder().append('x');
        joiner.appendTo(sb1FromIterable, parts);
        assertEquals("x" + expected, sb1FromIterable.toString());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/JoinerTest.java

            }
          };
    
      private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) {
        assertEquals(expected, joiner.join(parts));
        assertEquals(expected, joiner.join(parts.iterator()));
    
        StringBuilder sb1FromIterable = new StringBuilder().append('x');
        joiner.appendTo(sb1FromIterable, parts);
        assertEquals("x" + expected, sb1FromIterable.toString());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RangeMap.java

       */
      void remove(Range<K> range);
    
      /**
       * Merges a value into a part of the map by applying a remapping function.
       *
       * <p>If any parts of the range are already present in this map, those parts are mapped to new
       * values by applying the remapping function. The remapping function accepts the map's existing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

      private static File root() {
        return File.listRoots()[0];
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(String first, String... more) {
        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(File first, String... more) {
        // not very efficient, but should definitely be correct
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top