public class ByteIteratorIterator implements Iterator(Code)
Adapts an
ByteIterator ByteIterator to the
java.util.Iterator Iterator interface.
This implementation delegates most methods
to the provided
ByteIterator ByteIterator
implementation in the "obvious" way.
since: Commons Primitives 1.0 version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $ author: Rodney Waldhoff
Create an
Iterator Iterator wrapping
the specified
ByteIterator ByteIterator . When
the given iterator is null,
returns null.
Parameters: iterator - the (possibly null) ByteIterator ByteIterator to wrap an Iterator Iterator wrapping the given iterator, or null when iterator isnull.