Packages

  • package root

    Welcome to the Graph for Scala API reference.

    Welcome to the Graph for Scala API reference. Some suggested navigation entry points:

    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package collection

    Contains the base traits and objects needed to use Graph for Scala.

    Contains the base traits and objects needed to use Graph for Scala.

    See also the Graph for Scala Core User Guide.

    Definition Classes
    scalax
  • package config
    Definition Classes
    collection
  • package edge

    Predefined edges.

    Predefined edges.

    While basic edge types are defined in the object GraphEdge, the predefined edges in this package cover the following categories (prefixes, shortcuts):

    weighted (W, %), key-weighted (Wk, %#), labeled (L, +), key-labeled (Lk, +#), weighted and labeled (WL, %+), key-weighted and labeled (WkL, %#+), weighted and key-labeled (WLk, %+#) and key-weighted and key-labeled (WkLk, %#+#).

    These predefined edges provide alternatives for any edge extension taking the burden from the user to implement his/her custom edge class - but baring the disadvantage that user edge attributes must be part of a label class as opposed to being part of the edge class directly. It may also serve as a source for looking up how to implement custom edge classes.

    Definition Classes
    collection
  • package generator

    This package helps you to create random graphs with predefined metrics.

    This package helps you to create random graphs with predefined metrics. It is not only possible to create random graph instances but also Scalacheck generators.

    Definition Classes
    collection
  • package generic
    Definition Classes
    collection
  • package immutable
    Definition Classes
    collection
  • package mutable
    Definition Classes
    collection
  • ChainingOps
  • Compat
  • Graph
  • GraphBase
  • GraphDegree
  • GraphEdge
  • GraphLike
  • GraphPredef
  • GraphTraversal
  • GraphTraversalImpl
  • State
  • TraverserImpl
c

scalax.collection

ChainingOps

implicit final class ChainingOps[A] extends AnyVal

Adds chaining methods tap and pipe to Any. Back ported from Scala 2.13.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChainingOps
  2. AnyVal
  3. 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 ChainingOps(self: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toany2stringadd[ChainingOps[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ChainingOps[A], B)
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toArrowAssoc[ChainingOps[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def ensuring(cond: (ChainingOps[A]) => Boolean, msg: => Any): ChainingOps[A]
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toEnsuring[ChainingOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (ChainingOps[A]) => Boolean): ChainingOps[A]
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toEnsuring[ChainingOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: => Any): ChainingOps[A]
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toEnsuring[ChainingOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): ChainingOps[A]
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toEnsuring[ChainingOps[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toStringFormat[ChainingOps[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  12. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def pipe[B](f: (A) => B): B
  15. val self: A
  16. def tap[U](f: (A) => U): A
  17. def toString(): String
    Definition Classes
    Any

Deprecated Value Members

  1. def [B](y: B): (ChainingOps[A], B)
    Implicit
    This member is added by an implicit conversion from ChainingOps[A] toArrowAssoc[ChainingOps[A]] 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 AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd fromChainingOps[A] to any2stringadd[ChainingOps[A]]

Inherited by implicit conversion StringFormat fromChainingOps[A] to StringFormat[ChainingOps[A]]

Inherited by implicit conversion Ensuring fromChainingOps[A] to Ensuring[ChainingOps[A]]

Inherited by implicit conversion ArrowAssoc fromChainingOps[A] to ArrowAssoc[ChainingOps[A]]

Ungrouped