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



782
783
784
# File 'lib/mdarray/counter.rb', line 782

def get_current
  @iterator.getIntCurrent
end

#get_nextObject



786
787
788
# File 'lib/mdarray/counter.rb', line 786

def get_next
  @iterator.getIntNext
end

#set_current(value) ⇒ Object



790
791
792
# File 'lib/mdarray/counter.rb', line 790

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

#set_next(value) ⇒ Object



794
795
796
# File 'lib/mdarray/counter.rb', line 794

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