Class IteratorBytesSupplier

    • Constructor Detail

      • IteratorBytesSupplier

        public IteratorBytesSupplier​(java.util.Iterator<BytesSupplier> sources)
        Constructs an IteratorBytesSupplier.
        Parameters:
        sources - the source suppliers
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<byte[]>
      • next

        public byte[] next()
        Specified by:
        next in interface java.util.Iterator<byte[]>
      • toByteBuffer

        public java.nio.ByteBuffer toByteBuffer()
        Returns the ByteBuffer presentation of the object.
        Specified by:
        toByteBuffer in interface BytesSupplier
        Returns:
        the ByteBuffer presentation of the object
      • getAsBytes

        public byte[] getAsBytes()
        Returns the byte[] presentation of the object.
        Specified by:
        getAsBytes in interface BytesSupplier
        Returns:
        the byte[] presentation of the object