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



675
676
677
# File 'lib/mdarray/counter.rb', line 675

def get_current
  @iterator.getByteCurrent
end

#get_nextObject



679
680
681
# File 'lib/mdarray/counter.rb', line 679

def get_next
  @iterator.getByteNext
end

#set_current(value) ⇒ Object



683
684
685
# File 'lib/mdarray/counter.rb', line 683

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

#set_next(value) ⇒ Object



687
688
689
# File 'lib/mdarray/counter.rb', line 687

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