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
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
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
() @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(). @description
Gets data's reference.
@return [DataType]
data's reference, frozen.
# File lib/node_int.rb, line 80 def data() end
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(). @description
Gets front's reference.
@return [Node, NilClass]
front's reference, frozen.
# File lib/node_int.rb, line 88 def f() end
inspect(). @description
Diagrammatically represents the node.
@return [String]
A diagram.
# File lib/node_int.rb, line 117 def inspect() end
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
(). @description
Gets back's reference.
@return [Node, NilClass]
The reference.
# File lib/node_int.rb, line 127 def back_ref() end
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(). @description
Gets back's reference.
@return [Node, NilClass]
back's reference.
# File lib/node_int.rb, line 145 def back() end
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(). @description
Gets front's reference.
@return [Node, NilClass]
front's reference.
# File lib/node_int.rb, line 153 def front() end
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