Class IteratorUtils


  • public final class IteratorUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T,​O>
      java.util.Iterator<O>
      mapIterator​(java.util.Iterator<T> iterator, java.util.function.Function<T,​O> mapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mapIterator

        public static <T,​O> java.util.Iterator<O> mapIterator​(java.util.Iterator<T> iterator,
                                                                    java.util.function.Function<T,​O> mapper)