Interface SizedIterator<T>
- Type Parameters:
T- the type of elements of this iterator
- All Superinterfaces:
Iterator<T>
- All Known Subinterfaces:
SizedIterator<T>
-
Method Details
-
getSize
long getSize()The number of elements of this iterator or -1 if not known.- Returns:
- number of elements.
-