com.jdroid.java.collections
Class Iterators
java.lang.Object
com.jdroid.java.collections.Iterators
public class Iterators
- extends Object
|
Method Summary |
static int |
size(Iterator<?> iterator)
Returns the number of elements remaining in iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Iterators
public Iterators()
size
public static int size(Iterator<?> iterator)
- Returns the number of elements remaining in
iterator. The iterator will be left exhausted: its
hasNext() method will return false.
- Parameters:
iterator - The Iterator
- Returns:
- The
Iterator size
Copyright © 2014. All rights reserved.