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
- Alphabetic
- By Inheritance
Inherited
- DiEdge
- Serializable
- Product
- Equals
- Edge
- ProtoEdge
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DiEdge(left: T, right: T)
- left
Left vertex of the edge.
- right
Right vertex of the edge.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
Checks if this instance can equal that instance.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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
if the vertex is part of this edge,true
otherwise.false
- Definition Classes
- Edge
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
Checks if this equals that.
Checks if this equals that.
- that
The object to test equivalence to.
- returns
if that.left == that.left && that.right == that.right.true
- Definition Classes
- DiEdge → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getNeighborOf(vertex: T): Option[T]
Gets the neighbor of vertex, respecting directionality.
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val left: T
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- val right: T
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])