Packages

case class DiEdge[T <: Node[_]](left: T, right: T) extends Edge[T] with ProtoEdge[T] with Product with Serializable

Represents a directed edge.

T

The type of the vertices.

left

Left vertex of the edge.

right

Right vertex of the edge.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiEdge
  2. Serializable
  3. Product
  4. Equals
  5. Edge
  6. ProtoEdge
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DiEdge(left: T, right: T)

    left

    Left vertex of the edge.

    right

    Right vertex of the edge.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def canEqual(that: Any): Boolean

    Checks if this instance can equal that instance.

    Checks if this instance can equal that instance.

    that

    The instance to check.

    returns

    true if that is of type DiEdge

    Definition Classes
    DiEdge → Equals
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def contains(vertex: T): Boolean

    Checks if the edge contains the given vertex.

    Checks if the edge contains the given vertex.

    vertex

    The vertex to check.

    returns

    true if the vertex is part of this edge, false otherwise.

    Definition Classes
    Edge
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Checks if this equals that.

    Checks if this equals that.

    that

    The object to test equivalence to.

    returns

    true if that.left == that.left && that.right == that.right.

    Definition Classes
    DiEdge → Equals → AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def getNeighborOf(vertex: T): Option[T]

    Gets the neighbor of vertex, respecting directionality.

    Gets the neighbor of vertex, respecting directionality.

    vertex

    The base vertex.

    returns

    The neighbor of vertex wrapped in Some(.) if vertex is on the left side of the edge, or None otherwise.

    Definition Classes
    DiEdgeEdge
  12. def hashCode(): Int

    Calculates the hash code of the edge.

    Calculates the hash code of the edge.

    returns

    Hash code of the edge.

    Definition Classes
    DiEdge → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val left: T
    Definition Classes
    DiEdgeEdge
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. def productIterator: Iterator[Any]
    Definition Classes
    Product
  20. val right: T
    Definition Classes
    DiEdgeEdge
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Edge[T]

Inherited from ProtoEdge[T]

Inherited from AnyRef

Inherited from Any

Ungrouped