- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Appendable (0.14 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
throw new AssertionError(e); } } private static final Appendable NASTY_APPENDABLE = new Appendable() { @Override public Appendable append(@Nullable CharSequence csq) throws IOException { throw new IOException(); } @Override public Appendable append(@Nullable CharSequence csq, int start, int end) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 11.7K 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(final Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException { a.append(csq); return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K 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(final Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException { a.append(csq); return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
private static class SpyAppendable implements Appendable, Flushable, Closeable { boolean flushed; boolean closed; 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
} }; } static Appendable separatingAppendable( Appendable delegate, String separator, int afterEveryChars) { checkNotNull(delegate); checkNotNull(separator); checkArgument(afterEveryChars > 0); return new Appendable() { int charsUntilSeparator = afterEveryChars; @Override public Appendable append(char c) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
forceFetch(java.io.File, java.net.URI); } org/gradle/wrapper/Logger.class package org.gradle.wrapper; public final synchronized class Logger implements Appendable { public final boolean quiet; public void Logger(boolean); public final void log(String); public final Appendable append(CharSequence); public final Appendable append(CharSequence, int, int); public final Appendable append(char); } org/gradle/wrapper/PathAssembler.class package org.gradle.wrapper; public final synchronized class PathAssembler { public...
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:00:26 UTC 2023 - 42.4K bytes - Viewed (0)