WalkBuilderImpl

scalax.collection.GraphTraversalImpl.WalkBuilderImpl
class WalkBuilderImpl(val start: NodeT, sizeHint: Int, edgeSelector: (NodeT, NodeT) => Option[EdgeT]) extends WalkBuilder

Attributes

Graph
Supertypes
trait WalkBuilder
trait Clearable
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Value members

Concrete methods

def add(node: NodeT): Boolean

Tries to add node to the tail of the path/walk.

Tries to add node to the tail of the path/walk.

Attributes

Returns

Whether the addition was successful.

def add(edge: EdgeT): Boolean

Tries to add edge to the tail of the path/walk.

Tries to add edge to the tail of the path/walk.

Attributes

Returns

Whether the addition was successful.

def clear(): Unit
def result(): Walk

Inherited methods

final def ++=(xs: IterableOnce[InnerElem]): Growable.this.type

Attributes

Inherited from:
Growable
final def +=(edge: EdgeT): WalkBuilder.this.type

Tries to add edge to the tail of the path/walk.

Tries to add edge to the tail of the path/walk.

Attributes

Inherited from:
WalkBuilder
final def +=(node: NodeT): WalkBuilder.this.type

Tries to add node to the tail of the path/walk.

Tries to add node to the tail of the path/walk.

Attributes

Inherited from:
WalkBuilder
final def +=(elem: InnerElem): Growable.this.type

Attributes

Inherited from:
Growable
final def add(elem: InnerElem): Boolean

Tries to add elem to the tail of the path/walk.

Tries to add elem to the tail of the path/walk.

Attributes

Returns

Whether the addition was successful.

Inherited from:
WalkBuilder

Attributes

Inherited from:
Growable
def addOne(elem: InnerElem): WalkBuilder.this.type

Tries to add elem to the tail of the path/walk.

Tries to add elem to the tail of the path/walk.

Attributes

Inherited from:
WalkBuilder
def knownSize: Int

Attributes

Inherited from:
Growable
def mapResult[NewTo](f: Walk => NewTo): Builder[A, NewTo]

Attributes

Inherited from:
Builder
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit

Attributes

Inherited from:
Builder

Attributes

Inherited from:
Builder

Attributes

Inherited from:
Builder

Deprecated and Inherited methods

final def +=(elem1: InnerElem, elem2: InnerElem, elems: InnerElem*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable

Concrete fields

override val start: NodeT

The node this walk starts at.

The node this walk starts at.

Attributes