class Linkedlist::DoublyNode(T)

Defined in:

linkedlist/doubly.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : T, prev : DoublyNode(T) | Nil, next __arg0 : DoublyNode(T) | Nil) #

Initializes a node with data and next pointer


[View source]

Instance Method Detail

def data #

[View source]
def data=(data : T) #

[View source]
def next #

[View source]
def next=(next __arg0 : Nil | Linkedlist::DoublyNode(T)) #

[View source]
def prev #

[View source]
def prev=(prev : Nil | Linkedlist::DoublyNode(T)) #

[View source]