Class: MDArray::IteratorFastFloat

Inherits:
IteratorFast show all
Defined in:
lib/mdarray/counter.rb

Overview



Instance Attribute Summary

Attributes inherited from IteratorFast

#iterator, #mdarray

Instance Method Summary collapse

Methods inherited from IteratorFast

#get_current_counter, #has_next?, #initialize, #jget_current_counter, #next

Constructor Details

This class inherits a constructor from MDArray::IteratorFast

Instance Method Details

#get_currentObject



830
831
832
# File 'lib/mdarray/counter.rb', line 830

def get_current
  @iterator.getFloatCurrent
end

#get_nextObject



834
835
836
# File 'lib/mdarray/counter.rb', line 834

def get_next
  @iterator.getFloatNext
end

#set_current(value) ⇒ Object



838
839
840
# File 'lib/mdarray/counter.rb', line 838

def set_current(value)
  @iterator.setFloatCurrent(value)
end

#set_next(value) ⇒ Object



842
843
844
# File 'lib/mdarray/counter.rb', line 842

def set_next(value)
  @iterator.setFloatNext(value)
end