Class: MDArray::IteratorFastLong

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



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

def get_current
  @iterator.getLongCurrent
end

#get_nextObject



775
776
777
# File 'lib/mdarray/counter.rb', line 775

def get_next
  @iterator.getLongNext
end

#set_current(value) ⇒ Object



779
780
781
# File 'lib/mdarray/counter.rb', line 779

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

#set_next(value) ⇒ Object



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

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