Node

scalation.DoublyLinkedList.Node
case class Node(elem: A, var pred: Node, var succ: Node)

The Node inner case class wraps elements in nodes for double linkage.

Value parameters

elem

the element

pred

the predecessor node

succ

the successor node

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def next: Node
def prev: Node
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product