Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/pkernel_jce/utils.rb
Instance Method Summary collapse
Instance Method Details
#to_vector ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/pkernel_jce/utils.rb', line 5 def to_vector v = Java::JavaUtil::Vector.new self.each do |rec| v.add_element rec end v end |