java.lang.Object
org.jhotdraw8.collection.iterator.Iterators
Provides static utility methods for iterators.
- Author:
- Werner Randelshofer
-
Method Summary
-
Method Details
-
toList
Creates a list from anIterable. If theIterableis a list, it is returned.- Type Parameters:
T- the value type- Parameters:
iterable- the iterable- Returns:
- the list
-
unmodifiableIterator
-