PathBuilderImpl

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

Attributes

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

Members list

Value members

Concrete methods

override 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.

Definition Classes
override 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.

Definition Classes
override def clear(): Unit

Attributes

Definition Classes
override def result(): Path

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
Growable
final def +=(elem: 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 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: Path => 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