- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for appendable (0.03 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) -
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/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)