JavaIteratorDeco

io.shiftleft.Implicits$.JavaIteratorDeco
final implicit class JavaIteratorDeco[T](val iterator: Iterator[T]) extends AnyVal

A wrapper around a Java iterator that throws a proper NoSuchElementException.

Proper in this case means an exception with a stack trace. This is intended to be used as a replacement for next() on the iterators returned from TinkerPop since those are missing stack traces.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Concrete fields

val iterator: Iterator[T]