class NodeAdapterInt

NodeAdapterInt. @abstract @class_description

A NodeAdapter interface.

@attr back [NodeAdapter, NilClass]

A backward reference.

@attr data [DataType]

A 'data' instance reference.

@attr front [NodeAdapter, NilClass]

A forward reference.

NodeAdapterInt. @abstract @class_description

A NodeAdapter interface.

@attr back [NodeAdapter, NilClass]

A backward reference.

@attr data [DataType]

A 'data' instance reference.

@attr front [NodeAdapter, NilClass]

A forward reference.

Constants

VERSION

Public Class Methods

new(n = nil) click to toggle source

initialize(n = nil). @description

Initializes a NodeAdapter.

@param n [Node]

The adapting instance.

@return [NodeAdapter]

The instance.

@raise [ArgumentError]

In the case n is not a Node instance.
# File lib/node_adapter_int.rb, line 27
def initialize(n = nil)
end

Public Instance Methods

attach_back(n = nil) click to toggle source

attach_back(n = nil). @description

Attaches back a Node.

@param n [Node]

An attachment Node.

@return [NilClass]

nil.

@raise [ArgumentError]

In the case the argument is any type other than Node.
# File lib/node_adapter_int.rb, line 55
def attach_back(n = nil)
end
attach_front(n = nil) click to toggle source

attach_front(n = nil). @description

Attaches front the argument Node.

@param n [Node]

The attachment.

@return [NilClass]

nil.

@raise [ArgumentError]

In the case the argument is any type other than Node.
# File lib/node_adapter_int.rb, line 67
def attach_front(n = nil)
end
back() click to toggle source

back(). @description

Gets back's reference.

@return [Node, NilClass]

back's reference.
# File lib/node_adapter_int.rb, line 35
def back()
end
detach_back() click to toggle source

detach_back(). @description

Sets back nil.

@return [NilClass]

nil.
# File lib/node_adapter_int.rb, line 75
def detach_back()
end
detach_front() click to toggle source

detach_front(). @description

Sets front nil.

@return [NilClass]

nil.
# File lib/node_adapter_int.rb, line 83
def detach_front()
end
front() click to toggle source

front(). @description

Gets front's reference.

@return [Node, NilClass]

front's reference.
# File lib/node_adapter_int.rb, line 43
def front()
end

Private Instance Methods

back=(n = nil) click to toggle source

back=(n = nil). @description

Sets back's reference.

@param n [Node, NilClass]

back's setting.

@return [Node, NilClass]

The argument.
# File lib/node_adapter_int.rb, line 95
def back=(n = nil)
end
front=(n = nil) click to toggle source

front=(n = nil). @description

Sets front's reference.

@param n [Node, NilClass]

front's setting.

@return [Node, NilClass]

The argument.
# File lib/node_adapter_int.rb, line 105
def front=(n = nil)
end