T
- the type of elements of this iteratorpublic interface SizedIterator<T> extends Iterator<T>
Modifier and Type | Method and Description |
---|---|
long |
getSize()
The number of elements of this iterator or -1 if not known.
|
forEachRemaining, hasNext, next, remove
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.