Unfortunately the problem is a little harder; you have not only to feed the characters little by little, but also to be able to get the filtered output in parts. In terms of your implementation, we need to be able to flush() before a complete sequence is fed into the remover, and not get a partially-fed sequence sent to the sink.
Wow, that is cool! :-)
Unfortunately the problem is a little harder; you have not only to feed the characters little by little, but also to be able to get the filtered output in parts. In terms of your implementation, we need to be able to flush() before a complete sequence is fed into the remover, and not get a partially-fed sequence sent to the sink.