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


806
807
808
# File 'lib/mdarray/counter.rb', line 806

def get_current
  @iterator.getLongCurrent
end

#get_nextObject


810
811
812
# File 'lib/mdarray/counter.rb', line 810

def get_next
  @iterator.getLongNext
end

#set_current(value) ⇒ Object


814
815
816
# File 'lib/mdarray/counter.rb', line 814

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

#set_next(value) ⇒ Object


818
819
820
# File 'lib/mdarray/counter.rb', line 818

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