Packages

class Builder[N, E <: Edge[N], +CC[N, E <: Edge[N]] <: collection.GraphLike[N, E, CC] with AnyGraph[N, E]] extends BuilderImpl[N, E]

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Builder
  2. BuilderImpl
  3. AbstractBuilder
  4. Growable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Builder(companion: Factory[CC])(implicit config: GraphConfig)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toany2stringadd[Builder[N, E, CC]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++=(nodes: Iterable[N] = Nil, edges: Iterable[E] = Nil): Builder.this.type

    Adds all passed nodes and edges to this graph.

    Adds all passed nodes and edges to this graph. For a mutable Graph see also unionInPlace.

    Definition Classes
    Growable
  5. def ++=(xs: Iterable[OuterElem[N, E]]): Builder.this.type

    Alias for addAll(xs).

    Alias for addAll(xs).

    Definition Classes
    Growable
  6. final def +=(edge: E): Builder.this.type

    Alias for addOne(edge).

    Alias for addOne(edge).

    Definition Classes
    Growable
    Annotations
    @inline()
  7. final def +=(node: N): Builder.this.type

    Alias for addOne(node).

    Alias for addOne(node).

    Definition Classes
    Growable
    Annotations
    @inline()
  8. def ->[B](y: B): (Builder[N, E, CC], B)
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toArrowAssoc[Builder[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def add(edge: E): Boolean

    Adds a single edge to this graph.

    Adds a single edge to this graph.

    returns

    true if this graph has not contained edge before.

    Definition Classes
    BuilderImplGrowable
  11. def add(node: N): Boolean

    Adds a single node to this graph.

    Adds a single node to this graph.

    returns

    true if this graph has not contained node before.

    Attributes
    protected
    Definition Classes
    BuilderImplGrowable
  12. def addAll(xs: Iterable[OuterElem[N, E]]): Builder.this.type

    Adds all elements produced by outer to this graph.

    Adds all elements produced by outer to this graph. For a graph see also unionInPlace.

    Definition Classes
    Growable
  13. final def addOne(edge: E): Builder.this.type

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    BuilderImplGrowable
  14. final def addOne(node: N): Builder.this.type

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    BuilderImplGrowable
  15. final def addOuter(elem: OuterElem[N, E]): Builder.this.type

    Adds a single outer element to this graph.

    Adds a single outer element to this graph.

    Attributes
    protected[collection]
    Definition Classes
    Growable
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clear(): Unit
    Definition Classes
    BuilderImplAbstractBuilder
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  19. val edges: ArrayBuffer[E]
    Attributes
    protected
    Definition Classes
    BuilderImpl
  20. def ensuring(cond: (Builder[N, E, CC]) => Boolean, msg: => Any): Builder[N, E, CC]
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toEnsuring[Builder[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Builder[N, E, CC]) => Boolean): Builder[N, E, CC]
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toEnsuring[Builder[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: => Any): Builder[N, E, CC]
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toEnsuring[Builder[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Builder[N, E, CC]
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toEnsuring[Builder[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. val nodes: ArrayBuffer[N]
    Attributes
    protected
    Definition Classes
    BuilderImpl
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def result: CC[N, E]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def upsert(edge: E): Boolean

    If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted.

    If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted. This is useful if non-key parts of an immutable edge are to be modified.

    returns

    true if edge has been inserted, false if it has been replaced.

    Definition Classes
    BuilderImplAbstractBuilder
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toStringFormat[Builder[N, E, CC]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (Builder[N, E, CC], B)
    Implicit
    This member is added by an implicit conversion from Builder[N, E, CC] toArrowAssoc[Builder[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from BuilderImpl[N, E]

Inherited from AbstractBuilder[N, E]

Inherited from Growable[N, E]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromBuilder[N, E, CC] to any2stringadd[Builder[N, E, CC]]

Inherited by implicit conversion StringFormat fromBuilder[N, E, CC] to StringFormat[Builder[N, E, CC]]

Inherited by implicit conversion Ensuring fromBuilder[N, E, CC] to Ensuring[Builder[N, E, CC]]

Inherited by implicit conversion ArrowAssoc fromBuilder[N, E, CC] to ArrowAssoc[Builder[N, E, CC]]

Ungrouped