case class WorklistItem[A](traversal: Iterator[A], depth: Int)
Attributes
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply[A](repeatTraversal: Iterator[A] => Iterator[A], behaviour: RepeatBehaviour[A]): A => PathAwareTraversal[A]
Attributes
See also:
Traversal.repeat for a detailed overview
Implementation note: using recursion results in nicer code, but uses the JVM stack, which only has enough space
for ~10k steps. So instead, this uses a programmatic Stack which is semantically identical. The
RepeatTraversalTests cover this case.