Class: MDArray::IteratorFastByte

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



710
711
712
# File 'lib/mdarray/counter.rb', line 710

def get_current
  @iterator.getByteCurrent
end

#get_nextObject



714
715
716
# File 'lib/mdarray/counter.rb', line 714

def get_next
  @iterator.getByteNext
end

#set_current(value) ⇒ Object



718
719
720
# File 'lib/mdarray/counter.rb', line 718

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

#set_next(value) ⇒ Object



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

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