Class: MDArray::IteratorFastDouble

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



819
820
821
# File 'lib/mdarray/counter.rb', line 819

def get_current
  @iterator.getDoubleCurrent
end

#get_nextObject



823
824
825
# File 'lib/mdarray/counter.rb', line 823

def get_next
  @iterator.getDoubleNext
end

#set_current(value) ⇒ Object



827
828
829
# File 'lib/mdarray/counter.rb', line 827

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

#set_next(value) ⇒ Object



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

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