Node

scalation.DoublyLinkedList.Node
case class Node(elem: DoublyLinkedList.this.A, var ahead: DoublyLinkedList.this.Node, var behind: DoublyLinkedList.this.Node)

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

Value parameters

ahead

the node ahead of you (e.g., the car ahead)

behind

the node behind you (e.g., the car behind)

elem

the element in this node (you)

Attributes

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

Members list

Value members

Concrete methods

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]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product