Daniel Gibson Wrote: > > Question: May we eliminate seekFromCurrent and seekFromEnd and just > > have seek with absolute positioning? I don't know of streams that > > allow seek without allowing tell. Even if some stream doesn't, it's > > easy to add support for tell in a wrapper. The marginal cost of > > calling tell is small enough compared to the cost of seek. > > No, seekFromCurrent may be convenient e.g. in network streams (just skip > some bytes), where other seek operations don't make that much sense. >
Interfaces should abstract only common things. You can always directly use concrete class that implements this.
