/external/guava/guava-tests/test/com/google/common/io/ |
H A D | MultiReaderTest.java | 35 final InputSupplier<Reader> supplier = newReader(testString); 41 throw new IllegalStateException("More than one supplier open"); 43 return new FilterReader(supplier.getInput()) { 58 InputSupplier<Reader> supplier = newReader("a"); 59 Iterable<? extends InputSupplier<? extends Reader>> list = ImmutableList.of(supplier, supplier); 71 InputSupplier<Reader> supplier = newReader(testString); 73 Reader joinedReader = CharStreams.join(supplier, supplier).getInput(); 108 InputSupplier<Reader> supplier [all...] |
H A D | FileBackedOutputStreamTest.java | 82 InputSupplier<InputStream> supplier = out.getSupplier(); 90 ByteStreams.newInputStreamSupplier(data, 0, chunk1), supplier)); 104 // Check that supplier returns the right data 105 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 132 InputSupplier<InputStream> supplier = out.getSupplier(); 135 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 146 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 153 InputSupplier<InputStream> supplier = out.getSupplier(); 156 assertTrue(Arrays.equals(data, ByteStreams.toByteArray(supplier))); 159 assertTrue(Arrays.equals(new byte[0], ByteStreams.toByteArray(supplier))); [all...] |
H A D | MultiInputStreamTest.java | 49 final InputSupplier<InputStream> supplier = newByteSupplier(0, 50); 55 throw new IllegalStateException("More than one supplier open"); 57 return new FilterInputStream(supplier.getInput()) { 83 InputSupplier<InputStream> supplier = newByteSupplier(0, 10); 85 InputSupplier<InputStream> joined = ByteStreams.join(supplier, supplier);
|
H A D | ByteStreamsTest.java | 224 // copy, input supplier 264 // copy, output supplier 750 InputSupplier<? extends InputStream> supplier 753 ByteStreams.slice(supplier, -1, 10); 759 ByteStreams.slice(supplier, 0, -1); 796 InputSupplier<? extends InputStream> supplier 800 ByteStreams.toByteArray(ByteStreams.slice(supplier, offset, length))));
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Suppliers.java | 43 * Returns a new supplier which is the composition of the provided function 44 * and supplier. In other words, the new supplier's value will be computed by 45 * retrieving the value from {@code supplier}, and then applying 46 * {@code function} to that value. Note that the resulting supplier will not 47 * call {@code supplier} or invoke {@code function} until it is called. 50 Function<? super F, T> function, Supplier<F> supplier) { 52 Preconditions.checkNotNull(supplier); 53 return new SupplierComposition<F, T>(function, supplier); 59 final Supplier<F> supplier; field in class:Suppliers.SupplierComposition 49 compose( Function<? super F, T> function, Supplier<F> supplier) argument 61 SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) argument [all...] |
H A D | Functions.java | 312 * supplier}, regardless of its input. 317 public static <T> Function<Object, T> forSupplier(Supplier<T> supplier) { argument 318 return new SupplierFunction<T>(supplier); 324 private final Supplier<T> supplier; field in class:Functions.SupplierFunction 326 private SupplierFunction(Supplier<T> supplier) { argument 327 this.supplier = checkNotNull(supplier); 331 return supplier.get(); 337 return this.supplier.equals(that.supplier); [all...] |
H A D | Optional.java | 127 * Returns the contained instance if it is present; {@code supplier.get()} otherwise. If the 128 * supplier returns {@code null}, a {@link NullPointerException} will be thrown. 130 * @throws NullPointerException if the supplier returns {@code null} 132 public abstract T or(Supplier<? extends T> supplier); argument 223 @Override public T or(Supplier<? extends T> supplier) { argument 224 checkNotNull(supplier); 275 @Override public Object or(Supplier<?> supplier) { argument 276 return checkNotNull(supplier.get(),
|
/external/guava/guava/src/com/google/common/io/ |
H A D | CharStreams.java | 118 * object from the given supplier. 121 * @param to the output supplier 168 * Opens a {@link Readable} object from the supplier, copies all characters 230 * @param supplier the factory to read from 235 InputSupplier<R> supplier) throws IOException { 236 return toStringBuilder(supplier).toString(); 257 * @param supplier the factory to read from 261 InputSupplier<R> supplier) throws IOException { 263 R r = supplier.getInput(); 278 * @param supplier th 234 toString( InputSupplier<R> supplier) argument 260 toStringBuilder( InputSupplier<R> supplier) argument 282 readFirstLine( InputSupplier<R> supplier) argument 304 readLines( InputSupplier<R> supplier) argument 350 readLines( InputSupplier<R> supplier, LineProcessor<T> callback) argument [all...] |
H A D | FileBackedOutputStream.java | 45 private final InputSupplier<InputStream> supplier; field in class:FileBackedOutputStream 97 supplier = new InputSupplier<InputStream>() { 112 supplier = new InputSupplier<InputStream>() { 122 * Returns a supplier that may be used to retrieve the data buffered 126 return supplier;
|
H A D | ByteStreams.java | 85 * Writes a byte array to an output stream from the given supplier. 88 * @param to the output supplier 133 * Opens an input stream from the supplier, copies all bytes from the 156 * Opens an output stream from the supplier, copies all bytes from the input 243 * @param supplier the factory 247 InputSupplier<? extends InputStream> supplier) throws IOException { 249 InputStream in = supplier.getInput(); 572 public static long length(InputSupplier<? extends InputStream> supplier) argument 576 InputStream in = supplier.getInput(); 696 * @param supplier th 246 toByteArray( InputSupplier<? extends InputStream> supplier) argument 701 readBytes(InputSupplier<? extends InputStream> supplier, ByteProcessor<T> processor) argument 731 getChecksum(InputSupplier<? extends InputStream> supplier, final Checksum checksum) argument 759 getDigest(InputSupplier<? extends InputStream> supplier, final MessageDigest md) argument 826 slice( final InputSupplier<? extends InputStream> supplier, final long offset, final long length) argument [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
H A D | CacheLoader.java | 102 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { argument 103 return new SupplierToCacheLoader<V>(supplier);
|
/external/junit/src/org/junit/experimental/theories/internal/ |
H A D | Assignments.java | 86 ParameterSupplier supplier= getAnnotatedSupplier(unassigned); 87 if (supplier != null) 88 return supplier;
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | CacheLoader.java | 129 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { argument 130 return new SupplierToCacheLoader<V>(supplier);
|
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SuppliersTest.java | 120 // Calls to the original memoized supplier shouldn't affect its copy. 133 // the underlying supplier hasn't executed yet 186 // Calls to the original memoized supplier shouldn't affect its copy. 201 // the underlying supplier hasn't executed yet 240 @Override public Supplier<Boolean> apply(Supplier<Boolean> supplier) { 242 supplier, Long.MAX_VALUE, TimeUnit.NANOSECONDS); 253 @Override public Supplier<Boolean> apply(Supplier<Boolean> supplier) { 254 return Suppliers.memoize(supplier); 271 final Supplier<Boolean> supplier = new Supplier<Boolean>() { 302 " synchronizing on supplier")); [all...] |
H A D | FunctionsTest.java | 411 Supplier<Integer> supplier = new CountingSupplier(); 412 Function<Object, Integer> function = Functions.forSupplier(supplier); 418 .addEqualityGroup(function, Functions.forSupplier(supplier))
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.security_1.0.200.v20100503.jar | ... .core.runtime.IConfigurationElement element
Throwable e
String supplier
String message
}
org/eclipse/equinox/internal/security/auth/ConfigurationFederator. ... |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.pde.core_3.6.1.v20100902_r361.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/droiddriver/libs/ |
H A D | guava-13.0.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/hash/ ... |
/external/robolectric/lib/main/ |
H A D | junit-dep-4.8.2.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
H A D | compiler.jar | ... contents
com.google.debugging.sourcemap.SourceMapSupplier supplier
}
com/google/debugging/sourcemap/SourceMapConsumerV1$1.class SourceMapConsumerV1 ... |