class NodeInt

NodeInt. @abstract @class_description

A Node abstract base class.

@attr back [Node, NilClass]

A backward reference.

@attr data [DataType]

Any instance. Refer the Data Library Homepage
{https://docs.diligentsoftware.org/data#classification Classifcation}.

@attr front [Node, NilClass]

A forward reference.

NodeInt. @abstract @class_description

A Node abstract base class.

@attr back [Node, NilClass]

A backward reference.

@attr data [DataType]

Any instance. Refer the Data Library Homepage
{https://docs.diligentsoftware.org/data#classification Classifcation}.

@attr front [Node, NilClass]

A forward reference.

Constants

VERSION

Public Class Methods

new(b_n = nil, dti = nil, f_n = nil) click to toggle source

initialize(b_n = nil, dti = nil, f_n = nil). @description

Initializes a Node instance.

@param b_n [Node]

The 'back' assignment.

@param dti [DataType]

Any instance. Refer the Data Library Homepage's
{https://docs.diligentsoftware.org/data#classification Classification}.

@param f_n [Node]

The 'front' assignment.

@return [Node]

An instance.
# File lib/node_int.rb, line 34
def initialize(b_n = nil, dti = nil, f_n = nil)
end

Public Instance Methods

==(rhs = nil) click to toggle source

(rhs = nil).

@description

Attribute equality operator.

@param rhs [.]

A comparison instance.

@return [TrueClass, FalseClass]

True in the case the lhs and the rhs's attributes refer identical
instances, and false otherwise.
# File lib/node_int.rb, line 99
def ==(rhs = nil)
end
===(rhs = nil) click to toggle source

(rhs = nil).

@description

Identity comparison operator.

@param rhs [.]

A comparison instance.

@return [TrueClass, FalseClass]

True in the case the lhs and rhs instances refer the same object.
# File lib/node_int.rb, line 109
def ===(rhs = nil)
end
b() click to toggle source

b(). @description

Gets back's reference.

@return [Node, NilClass]

back's reference, frozen.
# File lib/node_int.rb, line 72
def b()
end
clone_df() click to toggle source

clone_df() @description

Deeply clones.

@return [Node]

A deep clone. No Node references are identical. Data references are
identical.
# File lib/node_int.rb, line 52
def clone_df()
end
data() click to toggle source

data(). @description

Gets data's reference.

@return [DataType]

data's reference, frozen.
# File lib/node_int.rb, line 80
def data()
end
data=(dti = nil) click to toggle source

data=(dti = nil). @description

Sets 'data'.

@param dti [DataType]

The assignment object.

@return [DataType]

The argument.

@raise [DataError]

In the case the argument is any type other than a DataType type instance.
# File lib/node_int.rb, line 64
def data=(dti = nil)
end
f() click to toggle source

f(). @description

Gets front's reference.

@return [Node, NilClass]

front's reference, frozen.
# File lib/node_int.rb, line 88
def f()
end
inspect() click to toggle source

inspect(). @description

Diagrammatically represents the node.

@return [String]

A diagram.
# File lib/node_int.rb, line 117
def inspect()
end
shallow_clone() click to toggle source

shallow_clone(). @description

Shallowly clones.

@return [Node]

A clone. The clone and self are unidentical, and share the same
attribute references.
# File lib/node_int.rb, line 43
def shallow_clone()
end

Protected Instance Methods

back_ref() click to toggle source

back_ref(). @description

Gets back's reference.

@return [Node, NilClass]

The reference.
# File lib/node_int.rb, line 127
def back_ref()
end
front_ref() click to toggle source

front_ref(). @description

Gets front's reference.

@return [Node, NilClass]

front's reference.
# File lib/node_int.rb, line 135
def front_ref()
end

Private Instance Methods

back() click to toggle source

back(). @description

Gets back's reference.

@return [Node, NilClass]

back's reference.
# File lib/node_int.rb, line 145
def back()
end
back=(n = nil) click to toggle source

back=(n = nil). @description

Sets back.

@param n [Node]

The instance assignment.

@return [Node]

The argument.

@raise [NodeError]

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

front(). @description

Gets front's reference.

@return [Node, NilClass]

front's reference.
# File lib/node_int.rb, line 153
def front()
end
front=(n = nil) click to toggle source

front=(n = nil). @description

Sets front.

@param n [Node]

The instance assignment.

@return [Node]

The argument.

@raise [NodeError]

In the case the argument is any type other than Node.
# File lib/node_int.rb, line 177
def front=(n = nil)
end