Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for append (0.18 sec)

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

              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
        /**
         * Appends the string representation of each entry in {@code entries}, using the previously
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        @Override
        public Appendable append(CharSequence csq) {
          result.append(csq);
          return this;
        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
        @Override
        public Appendable append(CharSequence csq, int start, int end) {
          result.append(csq, start, end);
          return this;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        // Double.toString(Math.PI).length() == 17
        StringBuilder b = new StringBuilder((17 + 2) * (iMax + 1));
        b.append('[');
        for (int i = 0; ; i++) {
          b.append(longBitsToDouble(longs.get(i)));
          if (i == iMax) {
            return b.append(']').toString();
          }
          b.append(',').append(' ');
        }
      }
    
      /**
       * Saves the state to a stream (that is, serializes it).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineBuffer.java

          switch (cbuf[pos]) {
            case '\r':
              line.append(cbuf, start, pos - start);
              sawReturn = true;
              if (pos + 1 < end) {
                if (finishLine(cbuf[pos + 1] == '\n')) {
                  pos++;
                }
              }
              start = pos + 1;
              break;
    
            case '\n':
              line.append(cbuf, start, pos - start);
              finishLine(true);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          }
    
          @Override
          public String getExpected(String data) {
            /*
             * Get what the byte sink factory would expect for no written bytes, then append expected
             * string to that.
             */
            byte[] factoryExpectedForNothing = factory.getExpected(new byte[0]);
            return new String(factoryExpectedForNothing, Charsets.UTF_8) + checkNotNull(data);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 6);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        short[] toShortArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/SignedBytes.java

        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 5);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code byte} arrays <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSink.java

        checkNotNull(lineSeparator);
    
        Closer closer = Closer.create();
        try {
          Writer out = closer.register(openBufferedStream());
          for (CharSequence line : lines) {
            out.append(line).append(lineSeparator);
          }
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 7);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code boolean} arrays <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top