public abstract class CompoundByteIteratorBase extends ByteIterator
CompoundByteIterable.| Modifier | Constructor and Description |
|---|---|
protected |
CompoundByteIteratorBase() |
protected |
CompoundByteIteratorBase(@NotNull ByteIterator current) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull ByteIterator |
getCurrent() |
boolean |
hasNext() |
byte |
next() |
protected abstract ByteIterator |
nextIterator() |
long |
skip(long length)
Skips
bytes bytes. |
nextLongprotected CompoundByteIteratorBase(@NotNull
@NotNull ByteIterator current)
protected CompoundByteIteratorBase()
public boolean hasNext()
hasNext in class ByteIteratortrue if the iterator has more bytespublic long skip(long length)
ByteIteratorbytes bytes. Result is undefined for negative bytes.skip in class ByteIteratorlength - bytes to skip.false).public byte next()
next in class ByteIterator@NotNull protected @NotNull ByteIterator getCurrent()
protected abstract ByteIterator nextIterator()