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


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

def get_current
  @iterator.getShortCurrent
end

#get_nextObject


762
763
764
# File 'lib/mdarray/counter.rb', line 762

def get_next
  @iterator.getShortNext
end

#set_current(value) ⇒ Object


766
767
768
# File 'lib/mdarray/counter.rb', line 766

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

#set_next(value) ⇒ Object


770
771
772
# File 'lib/mdarray/counter.rb', line 770

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