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 any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. 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 +(other: String): String
    Implicit
    This member is added by an implicit conversion from AbstractBuilder[N, E] toany2stringadd[AbstractBuilder[N, E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++=(nodes: Iterable[N] = Nil, edges: Iterable[E] = Nil): AbstractBuilder.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]]): AbstractBuilder.this.type

    Alias for addAll(xs).

    Alias for addAll(xs).

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

    Alias for addOne(edge).

    Alias for addOne(edge).

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

    Alias for addOne(node).

    Alias for addOne(node).

    Definition Classes
    Growable
    Annotations
    @inline()
  8. 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()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. 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. For a graph see also unionInPlace.

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

    Adds a single node to this graph.

    Adds a single node to this graph.

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

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    Growable
  13. 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
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  16. 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
  17. 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
  18. 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
  19. 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
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. 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 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 any2stringadd fromAbstractBuilder[N, E] to any2stringadd[AbstractBuilder[N, E]]

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