Class: MDArray::IteratorFastShort

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



723
724
725
# File 'lib/mdarray/counter.rb', line 723

def get_current
  @iterator.getShortCurrent
end

#get_nextObject



727
728
729
# File 'lib/mdarray/counter.rb', line 727

def get_next
  @iterator.getShortNext
end

#set_current(value) ⇒ Object



731
732
733
# File 'lib/mdarray/counter.rb', line 731

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

#set_next(value) ⇒ Object



735
736
737
# File 'lib/mdarray/counter.rb', line 735

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