Interface AbstractByteArrayOutputStream.InputStreamConstructor<T extends InputStream>

Type Parameters:
T - the type of the InputStream.
Enclosing class:
AbstractByteArrayOutputStream
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Constructor for an InputStream subclass.
  • Method Summary

    Modifier and Type
    Method
    Description
    construct(byte[] buffer, int offset, int length)
    Constructs an InputStream subclass.
  • Method Details

    • construct

      T construct(byte[] buffer, int offset, int length)
      Constructs an InputStream subclass.
      Parameters:
      buffer - the buffer
      offset - the offset into the buffer
      length - the length of the buffer
      Returns:
      the InputStream subclass.