Packages

c

io.shiftleft.Implicits

JavaIteratorDeco

implicit final class JavaIteratorDeco[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.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaIteratorDeco
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JavaIteratorDeco(iterator: Iterator[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val iterator: Iterator[T]
  8. def nextChecked: T
  9. def onlyChecked: T
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped