> Ok, so the idea looks very nice, however, the name ObjectStream
> does not fit well to JDK naming conventions. It suggests
> something like InputStream, and not the Iterator. 

Well, concuptually, can you tell the difference? :-)

Seriously: InputStreams, Readers and Iterators all iterate (Readers and Streams over 
ints only but anyway). Agrees that the name question is tricky. ObjectStream is a sort 
of Stream, OTOH not an int-stream as the InputStreams. InputStreams are kind of 
iteratish. Finally I picked ObjectStream because of the close() method, and because of 
the similar end condition (you don\'t know you\'ve reached the end until you have read 
beyond the last entry).

FragileIterator is not good because it suggests an implementation of the 
java.util.Iterator interface.

/O 

--------------------
[EMAIL PROTECTED]
0733 - 99 99 17

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to