Interface CloseableIterator<E>

All Superinterfaces:
AutoCloseable, scala.collection.IterableOnce<E>, scala.collection.IterableOnceOps<E,scala.collection.Iterator,scala.collection.Iterator<E>>, scala.collection.Iterator<E>

public interface CloseableIterator<E> extends scala.collection.Iterator<E>, AutoCloseable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface scala.collection.Iterator

    scala.collection.Iterator.GroupedIterator<B extends Object>, scala.collection.Iterator.SliceIterator<A extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    map(scala.Function1<E,B> f)
     

    Methods inherited from interface java.lang.AutoCloseable

    close

    Methods inherited from interface scala.collection.IterableOnce

    knownSize, stepper

    Methods inherited from interface scala.collection.IterableOnceOps

    $colon$bslash, $div$colon, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToArray, copyToBuffer, corresponds, count, exists, find, fold, foldLeft, foldRight, forall, foreach, isTraversableAgain, max, maxBy, maxByOption, maxOption, min, minBy, minByOption, minOption, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRight, reduceRightOption, reversed, size, splitAt, sum, to, toArray, toBuffer, toIndexedSeq, toIterator, toList, toMap, toSeq, toSet, toStream, toVector

    Methods inherited from interface scala.collection.Iterator

    $plus$plus, buffered, collect, concat, contains, distinct, distinctBy, drop, dropWhile, duplicate, filter, filterImpl, filterNot, flatMap, flatten, grouped, hasDefiniteSize, hasNext, indexOf, indexOf, indexWhere, indexWhere$default$2, isEmpty, iterator, length, next, nextOption, padTo, partition, patch, sameElements, scanLeft, scanRight, seq, slice, sliceIterator, sliding, sliding$default$2, span, take, takeWhile, tapEach, toString, withFilter, zip, zipAll, zipWithIndex
  • Method Details

    • asJava

      Iterator<E> asJava()
    • map

      <B> CloseableIterator<B> map(scala.Function1<E,B> f)
      Specified by:
      map in interface scala.collection.IterableOnceOps<E,scala.collection.Iterator,scala.collection.Iterator<E>>
      Specified by:
      map in interface scala.collection.Iterator<E>