Class: MDArray::IteratorFastInt

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



747
748
749
# File 'lib/mdarray/counter.rb', line 747

def get_current
  @iterator.getIntCurrent
end

#get_nextObject



751
752
753
# File 'lib/mdarray/counter.rb', line 751

def get_next
  @iterator.getIntNext
end

#set_current(value) ⇒ Object



755
756
757
# File 'lib/mdarray/counter.rb', line 755

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

#set_next(value) ⇒ Object



759
760
761
# File 'lib/mdarray/counter.rb', line 759

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