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



854
855
856
# File 'lib/mdarray/counter.rb', line 854

def get_current
  @iterator.getDoubleCurrent
end

#get_nextObject



858
859
860
# File 'lib/mdarray/counter.rb', line 858

def get_next
  @iterator.getDoubleNext
end

#set_current(value) ⇒ Object



862
863
864
# File 'lib/mdarray/counter.rb', line 862

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

#set_next(value) ⇒ Object



866
867
868
# File 'lib/mdarray/counter.rb', line 866

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