- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for Appendable (0.82 sec)
-
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} }, NEW { @Override long copy(Readable from, Appendable to) throws IOException { return CharStreams.copy(from, to); } }; abstract long copy(Readable from, Appendable to) throws IOException; } enum TargetSupplier { STRING_WRITER { @Override Appendable get(int sz) { return new StringWriter(sz); } }, STRING_BUILDER {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { checkNotNull(appendable); if (parts.hasNext()) { appendable.append(toString(parts.next())); while (parts.hasNext()) { appendable.append(separator); appendable.append(toString(parts.next())); } } return appendable; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
private static class SpyAppendable implements Appendable, Flushable, Closeable { boolean flushed; boolean closed; final StringBuilder result = new StringBuilder(); @Override public Appendable append(CharSequence csq) { result.append(csq); return this; } @Override public Appendable append(char c) { result.append(c); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */ private static Appendable wrapAsGenericAppendable(Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException { a.append(csq); return this; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */ private static Appendable wrapAsGenericAppendable(Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException { a.append(csq); return this; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* Does not close {@code appendable} if it is {@code Closeable}. * * @return the number of characters copied * @throws IOException if an I/O error occurs while reading from this source or writing to {@code * appendable} */ @CanIgnoreReturnValue public long copyTo(Appendable appendable) throws IOException {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* Does not close {@code appendable} if it is {@code Closeable}. * * @return the number of characters copied * @throws IOException if an I/O error occurs while reading from this source or writing to {@code * appendable} */ @CanIgnoreReturnValue public long copyTo(Appendable appendable) throws IOException {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/AppendableWriter.java
/** * Writer that places all output on an {@link Appendable} target. If the target is {@link Flushable} * or {@link Closeable}, flush()es and close()s will also be delegated to the target. * * @author Alan Green * @author Sebastian Kanthak * @since 1.0 */ @J2ktIncompatible @GwtIncompatible final class AppendableWriter extends Writer { private final Appendable target; private boolean closed; /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt
*/ package org.gradle.kotlin.dsl.internal.sharedruntime.support /** * Appends value to the given Appendable and simple `\n` line separator after it. * * Always using the same line separator on all systems to allow for reproducible outputs. */ fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable { assert('\r' !in value) { "Unexpected line ending in string." }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 1K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* Copies all characters between the {@link Readable} and {@link Appendable} objects. Does not * close or flush either object. * * @param from the object to read from * @param to the object to write to * @return the number of characters copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(Readable from, Appendable to) throws IOException {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0)