public final class UnmodifiableByteIterator extends Object
| Modifier and Type | Method and Description |
|---|---|
protected ByteIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
byte |
next()
Returns the next element in me.
|
void |
remove()
Removes from my underlying collection the last
element
returned by me
(optional operation). |
static ByteIterator |
wrap(ByteIterator iterator) |
public void remove()
ByteIteratorreturned by me
(optional operation).protected ByteIterator getIterator()
public static final ByteIterator wrap(ByteIterator iterator)
public boolean hasNext()
ByteIteratortrue iff I have more elements.
(In other words, returns true iff
a subsequent call to next will return
an element rather than throwing an exception.)hasNext in interface ByteIteratortrue iff I have more elementspublic byte next()
ByteIteratornext in interface ByteIteratorCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.