/external/guava/guava-tests/test/com/google/common/io/ |
H A D | MultiReaderTest.java | 35 final CharSource source = newCharSource(testString); 37 CharSource reader = new CharSource() { 51 Reader joinedReader = CharSource.concat(reader, reader, reader).openStream(); 57 CharSource source = newCharSource("a"); 58 Iterable<? extends CharSource> list = ImmutableList.of(source, source); 59 Reader joinedReader = CharSource.concat(list).openStream(); 70 CharSource source = newCharSource(testString); 71 Reader joinedReader = CharSource.concat(source, source).openStream(); 78 private static CharSource newCharSourc [all...] |
H A D | CharSourceTest.java | 41 * Tests for the default implementations of {@code CharSource} methods. 49 suite.addTest(CharSourceTester.tests("CharSource.wrap[CharSequence]", 51 suite.addTest(CharSourceTester.tests("CharSource.empty[]", 206 CharSource c1 = CharSource.wrap("abc"); 207 CharSource c2 = CharSource.wrap(""); 208 CharSource c3 = CharSource.wrap("de"); 213 CharSource [all...] |
H A D | SourceSinkFactory.java | 91 * Factory for {@link CharSource} instances. 93 public interface CharSourceFactory extends SourceFactory<CharSource, String> {
|
H A D | TestCharSource.java | 30 public class TestCharSource extends CharSource implements TestStreamSupplier {
|
H A D | SourceSinkFactories.java | 107 public CharSource createSource(String string) throws IOException { 179 public CharSource createSource(String data) throws IOException { 180 return CharSource.wrap(data); 213 public CharSource createSource(String data) throws IOException { 214 return CharSource.empty(); 341 public CharSource createSource(String string) throws IOException { 417 public CharSource createSource(String string) throws IOException { 418 super.createSource(string); // just ignore returned CharSource
|
H A D | SourceSinkTester.java | 97 return new CharSource() {
|
H A D | CharSourceTester.java | 35 * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations. 36 * Generates tests of a all methods on a {@code CharSource} given various inputs the source is 41 public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> { 65 private CharSource source;
|
/external/guava/guava/src/com/google/common/io/ |
H A D | CharSource.java | 41 * {@code CharSource} is not an open, stateful stream of characters that can be read and closed. 44 * <p>{@code CharSource} provides two kinds of methods: 60 * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}. 65 public abstract class CharSource { class 70 protected CharSource() {} method in class:CharSource 253 * Concatenates multiple {@link CharSource} instances into a single source. Streams returned from 260 * @return a {@code CharSource} containing the concatenated data 263 public static CharSource concat(Iterable<? extends CharSource> sources) { 268 * Concatenates multiple {@link CharSource} instance [all...] |
H A D | MultiReader.java | 34 private final Iterator<? extends CharSource> it; 37 MultiReader(Iterator<? extends CharSource> readers) throws IOException {
|
H A D | ByteSource.java | 69 * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source 72 public CharSource asCharSource(Charset charset) { 410 private final class AsCharSource extends CharSource { 558 public CharSource asCharSource(Charset charset) { 560 return CharSource.empty();
|
H A D | Resources.java | 82 * Returns a {@link CharSource} that reads from the given URL using the given 87 public static CharSource asCharSource(URL url, Charset charset) {
|
H A D | Files.java | 210 * Returns a new {@link CharSource} for reading character data from the given 215 public static CharSource asCharSource(File file, Charset charset) {
|
H A D | BaseEncoding.java | 268 * {@code CharSource}. 270 @GwtIncompatible("ByteSource,CharSource") 271 public final ByteSource decodingSource(final CharSource encodedSource) {
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
H A D | JavaWriter.java | 30 import com.google.common.io.CharSource; 184 CharSource.wrap(write(new StringBuilder())),
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | ArbitraryInstances.java | 75 import com.google.common.io.CharSource; 233 .put(CharSource.class, CharSource.empty())
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
H A D | ArbitraryInstancesTest.java | 59 import com.google.common.io.CharSource; 336 assertEquals(CharSource.empty(), ArbitraryInstances.get(CharSource.class));
|
/external/guice/lib/ |
H A D | guava-16.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
/external/v8/src/inspector/build/closure-compiler/ |
H A D | closure-compiler.jar | META-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ... |
/external/dagger2/lib/ |
H A D | google-java-format-0.1-20151017.042846-2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ... |