Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 129 for appendTo (0.17 sec)

  1. android/guava/src/com/google/common/base/CaseFormat.java

            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
            requireNonNull(out).append(format.normalizeWord(s.substring(i, j)));
          }
          out.append(format.wordSeparator);
          i = j + wordSeparator.length();
        }
        return (i == 0)
            ? format.normalizeFirstWord(s)
            : requireNonNull(out).append(format.normalizeWord(s.substring(i))).toString();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/MoreObjects.java

                    ? !omitNullValuesSnapshot
                    : (!omitEmptyValuesSnapshot || !isEmpty(value)))) {
              builder.append(nextSeparator);
              nextSeparator = ", ";
    
              if (valueHolder.name != null) {
                builder.append(valueHolder.name).append('=');
              }
              if (value != null && value.getClass().isArray()) {
                Object[] objectArray = {value};
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        /* The following fails to compile:
         *
         * The method append(Iterable<? extends FluentIterableTest.A>) in the type
         * FluentIterable<FluentIterableTest.A> is not applicable for the arguments
         * (Iterable<FluentIterableTest.B>)
         */
        // FluentIterable.from(aIterable).append(bIterable);
    
        /* The following fails to compile:
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
        assertFullyRead(reader);
    
        // read all to one CharBuffer
        reader = new CharSequenceReader(charSequence);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
        StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii);
        for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) {
          sb.append((char) ch);
        }
        ASCII_CHARACTERS = sb.toString();
      }
    
      private static final String ALL_DIGITS;
    
      static {
        StringBuilder sb = new StringBuilder();
        String zeros =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testAppendString() throws IOException {
        File temp = createTempFile();
        Files.append(I18N, temp, Charsets.UTF_16LE);
        assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE));
        Files.append(I18N, temp, Charsets.UTF_16LE);
        assertEquals(I18N + I18N, Files.toString(temp, Charsets.UTF_16LE));
        Files.append(I18N, temp, Charsets.UTF_16LE);
        assertEquals(I18N + I18N + I18N, Files.toString(temp, Charsets.UTF_16LE));
    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)
  7. LICENSE

          Object form, made available under the License, as indicated by a
          copyright notice that is included in or attached to the work
          (an example is provided in the Appendix below).
    
          "Derivative Works" shall mean any work, whether in Source or Object
          form, that is based on (or derived from) the Work and for which the
    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)
  8. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

        StringBuilder builder = new StringBuilder("Predicates.").append(methodName).append('(');
        boolean first = true;
        for (Object o : components) {
          if (!first) {
            builder.append(',');
          }
          builder.append(o);
          first = false;
        }
        return builder.append(')').toString();
      }
    
      /** @see Predicates#equalTo(Object) */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Verify.java

       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
Back to top