Searched defs:flushable (Results 1 - 2 of 2) sorted by relevance

/external/guava/guava/src/com/google/common/io/
H A DFlushables.java46 * @param flushable the {@code Flushable} object to be flushed.
53 public static void flush(Flushable flushable, boolean swallowIOException) argument
56 flushable.flush();
68 * Equivalent to calling {@code flush(flushable, true)}, but with no
71 * @param flushable the {@code Flushable} object to be flushed.
73 public static void flushQuietly(Flushable flushable) { argument
75 flush(flushable, true);
/external/guava/guava-tests/test/com/google/common/io/
H A DCloseablesTest.java136 // Set up a flushable to expect to be flushed and closed, and optionally to
169 // Flush the flushable using the Flushables, passing in the swallowException
172 private void doFlush(Flushable flushable, boolean swallowException, argument
175 Flushables.flush(flushable, swallowException);
184 verify(flushable);

Completed in 85 milliseconds