Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for wasStreamClosed (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/TestByteSource.java

        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/TestByteSource.java

        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestStreamSupplier.java

     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
      /** Returns whether or not an open stream was closed. */
      boolean wasStreamClosed();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestStreamSupplier.java

     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
      /** Returns whether or not an open stream was closed. */
      boolean wasStreamClosed();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/TestByteSink.java

      }
    
      byte[] getBytes() {
        return bytes.toByteArray();
      }
    
      @Override
      public boolean wasStreamOpened() {
        return outputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return outputStreamClosed;
      }
    
      @Override
      public OutputStream openStream() throws IOException {
        outputStreamOpened = true;
        bytes.reset(); // truncate
        return new Out();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.8K bytes
    - Viewed (0)
Back to top