Packages

t

scalax.collection.mutable

AbstractBuilder

trait AbstractBuilder[N, E <: Edge[N]] extends Growable[N, E]

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

Abstract Value Members

  1. abstract 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.

    Attributes
    protected
    Definition Classes
    Growable
  2. abstract 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
    Growable
  3. abstract def clear(): Unit
  4. abstract 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.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++=(xs: Iterable[OuterElem[N, E]]): AbstractBuilder.this.type

    Alias for addAll(xs).

    Alias for addAll(xs).

    Definition Classes
    Growable
  4. final def +=(edge: E): AbstractBuilder.this.type

    Alias for addOne(edge).

    Alias for addOne(edge).

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

    Alias for addOne(node).

    Alias for addOne(node).

    Definition Classes
    Growable
    Annotations
    @inline()
  6. def ->[B](y: B): (AbstractBuilder[N, E], B)
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toArrowAssoc[AbstractBuilder[N, E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def addAll(nodes: Iterable[N], edges: Iterable[E]): AbstractBuilder.this.type

    Adds all passed nodes and edges to this graph.

    Adds all passed nodes and edges to this graph.

    Definition Classes
    Growable
  9. def addAll(xs: Iterable[OuterElem[N, E]]): AbstractBuilder.this.type

    Adds all elements produced by outer to this graph.

    Adds all elements produced by outer to this graph.

    Definition Classes
    Growable
  10. def addEdges(edges: Iterable[E]): AbstractBuilder.this.type

    Adds all edges to this graph.

    Adds all edges to this graph. Nodes being ends of edges are also added if not yet present.

    Definition Classes
    Growable
  11. def addNodes(nodes: Iterable[N]): AbstractBuilder.this.type

    Adds all nodes to this graph.

    Adds all nodes to this graph.

    Definition Classes
    Growable
  12. def addOne(edge: E): AbstractBuilder.this.type

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    Growable
  13. def addOne(node: N): AbstractBuilder.this.type

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    Growable
  14. final def addOuter(elem: OuterElem[N, E]): AbstractBuilder.this.type

    Adds a single outer element to this graph.

    Adds a single outer element to this graph.

    Attributes
    protected[collection]
    Definition Classes
    Growable
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  17. def ensuring(cond: (AbstractBuilder[N, E]) => Boolean, msg: => Any): AbstractBuilder[N, E]
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toEnsuring[AbstractBuilder[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (AbstractBuilder[N, E]) => Boolean): AbstractBuilder[N, E]
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toEnsuring[AbstractBuilder[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: => Any): AbstractBuilder[N, E]
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toEnsuring[AbstractBuilder[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): AbstractBuilder[N, E]
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toEnsuring[AbstractBuilder[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. 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

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toStringFormat[AbstractBuilder[N, E]] 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): (AbstractBuilder[N, E], B)
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toArrowAssoc[AbstractBuilder[N, E]] 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 Growable[N, E]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromAbstractBuilder[N, E] to StringFormat[AbstractBuilder[N, E]]

Inherited by implicit conversion Ensuring fromAbstractBuilder[N, E] to Ensuring[AbstractBuilder[N, E]]

Inherited by implicit conversion ArrowAssoc fromAbstractBuilder[N, E] to ArrowAssoc[AbstractBuilder[N, E]]

Ungrouped