Class: Java::NorsysNetica::NodeList
- Inherits:
-
Object
- Object
- Java::NorsysNetica::NodeList
- Defined in:
- lib/webget_netica/node_list.rb
Instance Method Summary collapse
Instance Method Details
#free ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/webget_netica/node_list.rb', line 7 def free() begin finalize() nodes.each{|n| n==nil or n.free() } rescue Java::NorsysNetica::NeticaException end end |
#getName ⇒ Object
15 16 17 |
# File 'lib/webget_netica/node_list.rb', line 15 def getName() "" end |
#nodes ⇒ Object
3 4 5 |
# File 'lib/webget_netica/node_list.rb', line 3 def nodes() return (0...size).map{|i| getNode(i) } end |
#to_ss ⇒ Object
19 20 21 |
# File 'lib/webget_netica/node_list.rb', line 19 def to_ss to_s + "\n" + nodes.map{|n| n.to_ss}.join("\n") end |