public interface XStringIterator extends XIterator<String>
| Modifier and Type | Method and Description |
|---|---|
short |
nextInto(long addr,
int offset)
Copies the next value into the provided memory address
This call has the same semantics as
Iterator.next() except
that the iterator implementation may be able to avoid allocating
a String object. |
short |
nextInto(XString to)
Copies the next value into the provided
XString. |
int |
nextLength()
Returns the length of the next string
Equivalent to invoking
nextLength(true)
|
int |
nextLength(boolean advance)
Returns the length of the next string
|
forEachRemaining, hasNext, next, removeint nextLength(boolean advance)
Indicates - whether to advance to the next string or notNoSuchElementException - iteration has no more elements.int nextLength()
Equivalent to invoking nextLength(true)
NoSuchElementException - iteration has no more elements.short nextInto(XString to)
XString.
This call has the same semantics as Iterator.next() except
that the iterator implementation may be able to avoid allocating
a String object.
NoSuchElementException - iteration has no more elements.short nextInto(long addr,
int offset)
This call has the same semantics as Iterator.next() except
that the iterator implementation may be able to avoid allocating
a String object.
NoSuchElementException - iteration has no more elements.Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.